Thursday, December 22, 2011

Execute JavaScript from C# in update panel

Place the code before closing the update panel

<Triggers>
         <asp:PostBackTrigger ControlID = "btnSave" />
 </Triggers>

so that it would recognize the control under where the javascript written from c#

No comments:

Post a Comment