Script Manager

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I know that only one page can be added to a page.

I am working on a library with various custom controls.

I might need to add references to the script manager of the page where
the control will be added.

I suppose I can't created a script manager on my custom control
because when I added it to a page I might get two Script Managers,
right?

How should I do this?

Thanks,

Miguel
 
What do you mean by that...?

Sorry,

I know that only one ScriptManager can be added to a page.

Imagine I have a page with a ScriptManager so I can use Ajax.
Then I add a control from my DLL library to the page.
This control needs a reference to a function in ScriptManager.
I want that reference to be taken care off inside the code of my
library control.

I would like the user the places my control in its page to not have to
add the necessary references to its ScriptManager.

How is this done?

Thanks,
Miguel
 
Back
Top