Solved

How to Avoid Uploading Entire Page on PostBack

Posted on 2014-02-24
2
193 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
Before we dive into the marketing strategies involved with creating an effective homepage, it’s crucial that EE members know what a homepage is. In essence, a homepage is the introductory, or default page, of a website that typically highlights the …
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
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…

910 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

16 Experts available now in Live!

Get 1:1 Help Now