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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:37:31+00:00 2026-05-14T14:37:31+00:00

Put a textbox, a checkbox and a button on a website. Set the EnableViewState

  • 0

Put a textbox, a checkbox and a button on a website.
Set the “EnableViewState” property of textbox and checkbox to false.
Write something into textbox and check the checkbox.
Click the button.

Why is the textbox still written and the checkbox checked after response?

  • 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-14T14:37:32+00:00Added an answer on May 14, 2026 at 2:37 pm

    Some things aren’t totally dependent on ViewState. In the controls you listed, those values are available in the POST sent to the server, so they’re gotten out of there and the controls restore their state that way.

    Other things, like the text in a <asp:Label> for instance aren’t sent back in any way, and they’ll lose their data without ViewState. The same is true for other properties, like the styling of the textbox, etc…only it’s value will be restored, because that’s all that’s sent back and as a result, all it’s coded to grab and restore. If you were to say make it red, that would be lost on postback.

    As a general rule, what a control can restore strictly from posted data will be restored on postback, everything else is lost.

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

Sidebar

Related Questions

I have a textbox that when you put focus into it, it drops down
What is the maximum amount of characters that can be put into a textbox
Basically I'm Trying to put out on the Textbox inside the Shared Function, But
I put a TileGroup in a BorderContainer and set the width to 100%, but
I put a wpf textbox inside a combobox to allow the user to enter
When I put value in textbox then its throught this error. I am making
I have created one form.In that form,it put one textbox.That text box should take
i want to display questions and below i want to put a textbox for
@UiHandler(addDynamicTextboxbutton) void addMoreTextbox(ClickEvent event) { textboxplaceholder.add(new TextBox(),textboxplace); } when addDynamicTextboxbutton button is clicked, this
Is it possible to put a character sequence in a Filtered TextBox Extender in

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.