Script Manager

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
 
S

shapper

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
 

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
474,265
Messages
2,571,069
Members
48,771
Latest member
ElysaD

Latest Threads

Top