Register a Control with ScriptManager of MasterPage from Content Page

Monday, July 16, 2012
By the following pice of code you can register a control with scriptmanager , that was in the master page, from content page ::

ScriptManager.GetCurrent(this.Page).RegisterPostBackControl(btnSetCourier);


---- this is for avoiding parsing problem with Update panel.

0 comments:

Post a Comment