Is jquery really worth trying with the asp.net web form?

Hi guys
I use javascript to get my validations, effects, etc. Now I decided to use jquery in one of my web applications

  • jquery worth a try with asp.net web app

  • Will an ajax update panel be a problem for me when using jquery?

I learned that the event is ready will not be fired for the asynchronous postback called by the UpdatePanel control ...

+4
source share
2 answers
  • Yes, if the application has many javascript functions, you can use numerous plugins
  • No, jQuery has compatibility mode .
  • The jQuery.ready event fires only when the page reloads, and the DOM is ready for manipulation. For asynchronous UpdatePanels postbacks, use:

    Sys.WebForms.PageRequestManager .getInstance() .add_endRequest(endRequest); function endRequest(sender, args) { } 
+4
source

Go to jQuery. Never look back. May the force be with you.

+2
source

Source: https://habr.com/ru/post/1299092/


All Articles