Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7172827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:41:48+00:00 2026-05-28T15:41:48+00:00

I have an Entry Form and a GridView on the same page. Selecting a

  • 0

I have an Entry Form and a GridView on the same page. Selecting a row from the GridView populates the TextBoxes in the Entry Form above it with all the entries of the GridView row.

When this page opens and any row is selected from the GridView, I could see a lot of View State data being sent to the server with each AJAX request. I selected View Source option of the browser to check this. I tried disabling the View State on top of the page by using: EnableViewState = “false”, but my application stopped performing correctly.

On selecting any row from the GridView, error is generated and so I re-enabled the View State.

Is there any optimized way to use View State and keep AJAX requests small? Anything related to View State compression as well?

I am using ASP.NET 2.0.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T15:41:49+00:00Added an answer on May 28, 2026 at 3:41 pm

    From the moment that you use UpdatePanel, out of the box ajax call you are stick to send all form post data, including the big view state.

    You have two ways, one is to make custom made, ajax call that are focused only to the change that you control, and not the full post back that UpdatePanel do.

    The other way is to minimize what page send back with each post back, and compress the viewstate.

    To compress the viewstate I suggest some pages here that have ready to use source code.

    http://www.codeproject.com/Articles/14733/ViewState-Compression

    http://www.hanselman.com/blog/ZippingCompressingViewStateInASPNET.aspx

    http://www.bloggingdeveloper.com/post/How-To-Compress-ViewState-in-ASPNET-20-ViewState-Compression-with-SystemIOCompression.aspx

    and a similar question that I did:
    How to limit the number of post values on UpdatePanel?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing an ASP.NET form for data-entry. Users have to select a client from
I have an entry Form. When the page is loaded, it must check: if
I have a very simple entry form. After a button is pressed, I need
In the entry form of my wpf application, I have a list of buttons
I have a Django form using textareas and TinyMCE for text entry. I would
I have a single entry output from a paradox table which is imported into
I have a series of forms on a page that all have a recordId
In my application I have a model and viewmodel which implement IDataError this all
I am using DevExpress in my winform application, I have a gridview, data entry
I have a entry form. Below it, I want to show a grid containing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.