Question

How to Avoid ASP.NET postbacks?

Was it helpful?

Solution

Use AJAX, UpdatePanels, JQuery:

http://www.asp.net/ajax/ should give you a good start.

OTHER TIPS

Asp.NET is entirely based on Postbacks.

May be are you looking for partial page rendering and client side stuffs. If this is the case, you can have a look at Asp.NET Ajax.

Try using html controls if you want to avoid postbacks. ie., it doesn't post back to the server.

What is your exact requirement? You don't want to postback the control or you don't want to feel the postback of a page. If so, you can go for UpdatePanel in asp.net ajax and try using Conditional Update.

Try using Asp.net MVC3 or MVC4 People tend to prefer MVC to webforms

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top