JQueryMobile in ASP.NET WebForm

Is using jQueryMobile in an ASP.Net Web Form app the right approach?
What are the advantages and disadvantages of using jQueryMobile or another mobile JS library in an ASP.NET web form?

+5
source share
2 answers

ASP.NET Web Forms is a great infrastructure, but you don’t need most of it to develop mobile applications using JavaScript UIs. First I listed the cons, then the alternative, and finally I will give some tips when you should use web forms, despite the disadvantages.


ASP.NET Web Forms , HTML. , , EnableViewState . ASP.NET Web Forms 4.0 , . , - ASP.NET.

, - JavaScript ASP.NET Web Forms . , <asp:DropDown AutoPostBack="true">, <asp:TextBox OnTextChanged="..." > <asp:Panel DefaultButton="...">. , , , , .

<asp:UpdatePanel> - : , AJAX. JavaScript, , .

. , JavaScript , JavaScript. , ASP.NET Web Forms post backs ( , ) , .


, ASP.NET MVC , jQuery Mobile.


- ASP.NET, , <asp:ListView> HTML, jQuery Mobile UI. HTML.

<asp:UpdatePanel>, . , - .

- , JavaScript. [WebMethod] JSON, JavaScript. , , , . , .

, -, .ashx( IHttpHandler , IHttpAsyncHandler) - ScriptService, , ASP.NET MVC .

+11

, - ASP.NET WebForms.

- ASP.NET WebForms, ASP.NET MVC. ? ? ? ?

, , WebForm, , . , UpdatePanel, , jQuery . UpdatePanel . . ViewState, .

WebForms , . runat=server, HTML- ViewState. , [WebMethod, ScriptMethod] .

+1

All Articles