Rendering multiple controls with javascript functions

O

orianavim

Hi,

Depend on the user decision, a page can contain one or more user
control which i will call it for now PictureControl. This is a simple
..ascx which contains few html elements and some java script functions.

now, when if i have more than one PictureControl in a page, i get the
javascript functions rendered
few times without any need (its exactley the same functions).


My questions are:

1.Any ideas how can I improve it?
2. How can I control the rendering and decides which part i will render
and which part i would not?

Thank you very much for you help,

Ori
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top