Monday, March 26, 2012

Access to ScriptManager from into webcontrol

Hi, I've a UpdatePanel into my personal webcontrol, and one scriptmanager what can be into webform, into master page, or into content page.
I need have access to ScriptManager from a method of my personal web control. Is it possible?

Hi,

yes it is. You can call System.Web.UI.ScriptManager.GetCurrent(this.Page) to retrieve a reference to the ScriptManager control.


Thank you Garbin!!!!!, it's wonderful!!!!!

Greetings, Diego

No comments:

Post a Comment