Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to Avoid Uploading Entire Page on PostBack

Posted on 2014-02-24
2
Medium Priority
?
214 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 22

Accepted Solution

by:
Ivo Stoykov earned 2000 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
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.

704 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