Rendering multiple controls with javascript functions

Discussion in 'ASP .Net Web Controls' started by orianavim@gmail.com, Jan 8, 2007.

  1. Guest

    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
    , Jan 8, 2007
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John
    Replies:
    1
    Views:
    396
    Jurjen de Groot
    Jul 10, 2003
  2. Mike Speak
    Replies:
    2
    Views:
    1,802
    Mike Speak
    Nov 22, 2003
  3. Peter Mount
    Replies:
    4
    Views:
    928
    Peter Mount
    Jan 31, 2006
  4. Xiangliang Meng
    Replies:
    1
    Views:
    1,575
    Victor Bazarov
    Jun 21, 2004
  5. Phoe6
    Replies:
    2
    Views:
    98
Loading...

Share This Page