Solved

How to Avoid Uploading Entire Page on PostBack

Posted on 2014-02-24
2
187 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
Comment Utility
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
Comment Utility
Easy points. I don't have time for this right now and EE is bugging me.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
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…

762 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

9 Experts available now in Live!

Get 1:1 Help Now