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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:38:14+00:00 2026-06-18T04:38:14+00:00

I know ASP.NET doesn’t allow to disable control state. Does anybody know why ?

  • 0

I know ASP.NET doesn’t allow to disable control state.

Does anybody know why? I’ve googled a lot but only saw it is not possible, but was not able to find “WHY?”

Any thoughts on this would be welcome!

P.S. In my particular case I need to put a lot of items into a dropdown list that will NOT be used for server side events. Instead of just disabling control state I need to write my own custom DropDownList… 🙁

  • 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-06-18T04:38:16+00:00Added an answer on June 18, 2026 at 4:38 am

    Control state was separated from view state so that view state could be disabled without breaking critical functionality. In theory, control state should contain everything necessary for the server control to function properly.

    Control state, introduced in ASP.NET version 2.0, is
    similar to view state but functionally independent of view state. A
    page developer can disable view state for the page or for an
    individual control for performance. However, control state cannot be
    disabled. Control state is designed for storing a control’s essential
    data (such as a pager control’s page number) that must be available on
    postback to enable the control to function even when view state has
    been disabled.

    http://msdn.microsoft.com/en-us/library/1whwt1k7(v=vs.100).aspx

    However…ASP.Net does a poor job of making this distinction, and disabling view state will indeed break certain server controls despite the mandatory control state.

    In your case, disabling view state for the dropdown list should remove the vast majority of state data; control state is usually quite small for a dropdown with view state disabled. I suggest trying it first before writing your own.

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

Sidebar

Related Questions

Does anyone know of a CSS Adapter for the LinkButton control for ASP.Net 2?
Does anybody know how to properly identify CMYK images in ASP.NET using C#? When
Does anybody know what tool used while podcasts were recorded here: http://www.asp.net/mvc/application-development/ For example
I don't know alot about ASP.Net but I'm trying to make a new control
Does anyone know of an ASP.NET guide to implementing OpenID and what information can
Does anyone know how to pass a C# ASP.NET array to a JavaScript array?
Does anyone know if this has been released yet? I went to asp.net and
The ASP.NET AJAX ModalPopupExtender has OnCancelScript and OnOkScript properties, but it doesn't seem to
I'm getting into ASP.NET (C# - I know it doesn't matter for this particular
does anyone know if its possible to replace the updatepanel in asp.net ajax toolkit

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.