Saturday, March 24, 2012

about ScriptManager

if there was a user control (ascx) which have a ScriptManager control in a page(aspx), would there need a ScriptManager in my page?

about master page?? if have a ScriptManager control , how can i deal with its son page?

thankyou

Hi,

you can only have one ScriptManager control. My suggestion is to put it in your page (or in the master page). If you need to add scripts or services references in user controls, you can use the ScriptManagerProxy control.

I think you're getting a sense for the awkwardness of the current implmentation.

If you'd like, you can help me recommend a more elegant solution by contributing here:

http://forums.asp.net/thread/1364014.aspx

No comments:

Post a Comment