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.
相关问题
- Carriage Return (ASCII chr 13) is missing from tex
- How to store image outside of the website's ro
- 'System.Threading.ThreadAbortException' in
- Request.PathInfo issues and XSS attacks
- How to dynamically load partial view Via jquery aj
相关文章
- asp.net HiddenField控件扩展问题
- asp.net HiddenField控件扩展问题
- Asp.Net网站无法写入错误日志,测试站点可以,正是站点不行
- asp.net mvc 重定向到vue hash字符串丢失
- FormsAuthenticationTicket expires too soon
- “Dynamic operations can only be performed in homog
- What is the best way to create a lock from a web a
- Add to htmlAttributes for custom ActionLink helper
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
pageLoad
function, 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