There is a lot of code so I want to explain the issue shortly in words. I have a Master page, that includes all references to javascript files and have the pages that use the master page. I use update panel in my pages and inside the update panel there are some forms including that one-has postback capability(ie dropdownlist). The problem is when the state changes and a partial postback occurs, the forms which has some capabilities and effects because of those javascripts, then lose all the functionality. Any help would be appreciated.
Share
This is because after the partial post back with the Update panel you need to re-initialize the javascript. Here is a general example
Relative questions:
Asp.Net UpdatePanel in Gridview Jquery DatePicker
How to get Id update panel that initial a request in javascript
After the net 4 you can also simple use the
pageLoadfunction, is similar to the OnLoad function, but is handled by asp.net and is called on the first page load, but also called after each ajax update.reference: http://msdn.microsoft.com/en-us/library/bb386417(v=vs.100).aspx