Hai guys,
I ve been using javascript to get my validations,effects and so on... Now i ve decide to use jquery in one of my开发者_开发知识库 webform applicationIs jquery worth a try with an asp.net webform application?
Will ajax update panel be an issue for me when using jquery?
I ve studied that the ready event will not fire for an asynchronous postback caused from UpdatePanel control...
- Yes, if the application has lots of javascript functionality you may take benefit of the numerous plugins
- No, jQuery has a compatibility mode.
jQuery.ready event fires only when you reload the page and the DOM is ready for manipulation. For asynchronous postbacks of UpdatePanels use:
Sys.WebForms.PageRequestManager .getInstance() .add_endRequest(endRequest); function endRequest(sender, args) { }
Go with jQuery. Never look back. May the force be with you.
精彩评论