Friday, October 23, 2015

UpdatePanel Vs jQuery conflict

Simple thoughts, its good to recollect my learning days on ASP.NET ajax framework.
When you place the UpdatePanel on the page for asynchronous post back on the page, you might have seen your custom javascript function or jquery function won't work, because  UpdatePanel  rewrite all the mark up in the page on every asynchronous call.

To retain the javascript / jquery function between these call, add this line of code on script block markup body section.


And also ensure,you wrap up all the jQuery function into manageable functions.