Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
167
rated 0 times [  172] [ 5]  / answers: 1 / hits: 100985  / 14 Years ago, fri, november 19, 2010, 12:00:00

How do i run a javascript event after a postback within an updatepanel


More From » asp.net

 Answers
256

You can use the ClientScriptManager to make a call to a function on the reload:



ClientScriptManager.RegisterStartupScript(this.GetType(), AKey, MyFunction();, true);


http://msdn.microsoft.com/en-us/library/asz8zsxy.aspx


[#94907] Wednesday, November 17, 2010, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mathewb

Total Points: 535
Total Questions: 95
Total Answers: 96

Location: British Indian Ocean Territory
Member since Fri, Oct 15, 2021
3 Years ago
;