开发者

Is jquery worth a try with an asp.net webform application?

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 application

  1. Is jquery worth a try with an asp.net webform application?

  2. 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...


  1. Yes, if the application has lots of javascript functionality you may take benefit of the numerous plugins
  2. No, jQuery has a compatibility mode.
  3. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜