Zabahey
Zabahey

Reputation: 328

Is possible to develop whole asp.net web form with jquery

Is it possible to develop a whole asp.net web form with jquery ajax instead of pagepostback?

If possible can anyone show some tutorials or examples?

eg binding data to form (textbox, dropdownlist, gridview etc.), send data to server, etc.

Thank you for your support and Sorry if my english is not good

Zabahey

Upvotes: 1

Views: 147

Answers (2)

Mohit
Mohit

Reputation: 250

You can make a web page or should I say simple HTML markup which can use JQuery or any other Javascript Library to load dynamic content from Database. Yes, you can create dropdown's, checkboxes too, but then you have to be very much efficient in Javascript, HTML and DOM knowledge. Because, you can not debug errors rapidly in this case. Also, you need to understand the asynchronous behaviour of browsers too.

Its just a complete different pool of water to swim in.

Upvotes: 2

Marc Gravell
Marc Gravell

Reputation: 1063198

In my experience, if you are doing that much with jquery you'll do much better trying MVC, as this allows you to work much closer to the HTML (important when marrying to jquery) and avoids all the cruft that is meaningless with a jquery-centric app. It is also much easier to write the ajax routes.

But to answer the question: I'm sure that would be possible, but it will be easier without webforms adding work for you to undo.

Upvotes: 3

Related Questions