Solved

How to Avoid Uploading Entire Page on PostBack

Posted on 2014-02-24
2
195 Views
Last Modified: 2014-02-28
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?

Thanks...
0
Comment
Question by:kwebster7327
2 Comments
 
LVL 22

Accepted Solution

by:
Ivo Stoykov earned 500 total points
ID: 39883201
You could use Update panel and partial post back or better ajax to get data only without the markup.

HTH

Ivo Stoykov
0
 
LVL 1

Author Closing Comment

by:kwebster7327
ID: 39894990
Easy points. I don't have time for this right now and EE is bugging me.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Capture logon name 13 70
Where can I find... 1 28
Where did System.Data.Objects go? 2 23
VB.Net - MemoryMappedFiles - Confirm receipt 2 17
Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! https://www.google.com/about/careers/students/guide-to-technical-development.html How to Know You are Making a Difference at EE In August, 2013, one …
A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now