How to Avoid Uploading Entire Page on PostBack

I have an ASP.NET search page with a couple text fields and a gridview. It does a pretty common task: the users key in some search criteria, then clicks "GO". The gridview gets returned with whatever the user searched for.

OBSERVATION: if the user chooses to search again by entering new criteria and clicking "GO", the entire grid's contents are being uploaded back as part of the postback.

Not a big problem if the grid only contains a few rows. But if it contains many rows, and the user is on a slow connection, this upload time is causing impatient users to think they've timed out.

QUESTION: What can I do to somehow avoid the unnecessary upload of the GridView's data in this case?

Who is Participating?
Ivo StoykovConnect With a Mentor Commented:
You could use Update panel and partial post back or better ajax to get data only without the markup.


Ivo Stoykov
kwebster7327Author Commented:
Easy points. I don't have time for this right now and EE is bugging me.
All Courses

From novice to tech pro — start learning today.