Any downsides to using ASP.Net AJAX and JQuery together

前端 未结 9 1057
深忆病人
深忆病人 2021-02-04 10:41

We are planning to use the jQuery library to augment our client side JavaScript needs.

Are there any major issues in trying to use both ASP.Net AJAX and jQuery? Both li

9条回答
  •  猫巷女王i
    2021-02-04 11:10

    I have been using ext which is another javascript framework with .net. It is far easier to use than old fashioned HTML form controls

    
    

    Than using ASP.net form controls. You probably want to use the cool javascript framework form validation as opposed to the not so great built in .net validators too, but I guess that's down to your preference

    If you do want to carry on using .net controls, remember that the ID generated in markup is different to what you define, so if you want to reference a control by id in JS use:

    <%=MyControlId.ClientID%>
    

提交回复
热议问题