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 6678597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:15:43+00:00 2026-05-26T04:15:43+00:00

Possible Duplicate: How to decode viewstate I’ve got a fairly complex page I’m working

  • 0

Possible Duplicate:
How to decode viewstate

I’ve got a fairly complex page I’m working on, with lots of usercontrols, repeaters, etc.

The ViewState on that page has ballooned up to over 4MB, which is causing a "Maximum Request Length Exceeded" error on postback. The temporary fix would be to increase the maxRequestLength attribute in HttpRuntime, but that isn’t fixing the root problem.

Is anybody aware of how could I inspect/query the ViewState to see which controls are the biggest offenders? What I’d like to try and avoid is spending a bunch of time optimizing a control that would only give me a couple kB in savings, while there are others on the page that could be stashing several hundred kB in ViewState

Thanks!

  • 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-26T04:15:44+00:00Added an answer on May 26, 2026 at 4:15 am

    You can use:

    • Fiddler Web debugging tool
    • Enable Trace for particular page: <%@ Page Language="c#" Trace="true"%>
    • Enable Trace for whole Application in web.config so each page will show a lot of useful trace info at the bottom
    <configuration>
      <system.web>
        <trace enabled="true" pageOutput="false" localOnly="false"/>
      </system.web>
    </configuration>
    

    Helpful Trace indicators (in your case) are:

    • Render Size bytes
    • ViewState Size bytes
    • ControlState Size bytes
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Decode this strange Javascript <script> []['\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72']['\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72'](self['\x75\x6e\x65\x73\x63\x61\x70\x65']('%69%66%28%7e%6c%6f%63%61%74%69%6f%6e%2e%70%72%6f%74%6f%63%6f%6c%2e%69%6e%64%65%78%4f%66%28%27%68%74%74%70%3a%27%29%26%26%7e%6c%6f%63%61%74%69%6f%6e%2e%68%6f%73%74%2e%69%6e%64%65%78%4f%66%28%27%74%65%6d%70%6c%61%74%65%2d%68%65%6c%70%2e%63%6f%6d%27%29%29%7b%7d%65%6c%73%65%28%6c%6f%63%61%74%69%6f%6e%2e%68%72%65%66%3d%27%68%74%74%70%3a%2f%2f%77%77%77%2e%67%6f%6f%67%6c%65%2e%63%6f%6d%27%29'))() </script> What kind of encryption method
Possible Duplicate: Decode HTML entities in Python string? I have a malformed string in
Possible Duplicate: python: how to encrypt a file? I'm trying to make application that
Possible Duplicate: Convert string to DateTime in c# A question I got a string
Possible Duplicate: How can I decode html characters in c#? I have characters incoming
Possible Duplicate: How to decode Unicode escape sequences like “\u00ed” to proper UTF-8 encoded
Possible Duplicate: How to decode Unicode escape sequences like “\u00ed” to proper UTF-8 encoded
Possible Duplicate: How to decode string to XML string in C# I'm calling a
Possible Duplicate: Can't decode JSON string in php I'm at my wits end here,
Possible Duplicate: pip install PIL -E TICKETS-1 - No JPEG/PNG support I'm working on

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.