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

  • Home
  • SEARCH
  • 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 162559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T11:24:45+00:00 2026-05-11T11:24:45+00:00

When page is to be posted back to the server, browser collects the current

  • 0

When page is to be posted back to the server, browser collects the current values of each control and pastes it together into a string. This postback data is then sent back to the server via HTTP POST.

Q1 – Besides control’s Text attributes and SelectedIndexchanged ( thus besides user input data), are there other attributes/values of a control which are saved by a browser as postback data?

Q2 – In case of GridView, which values are saved by a browser on a postback? Only those in a row which the user chooses to edit?

byte

  • 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. 2026-05-11T11:24:46+00:00Added an answer on May 11, 2026 at 11:24 am

    The values of textarea, select, input and button fields are returned in the post. Each value is a key-value pair where the key is the name property of the element.

    I think that I have got all the elements that include data in the post:

    • textarea: The value propery is included, i.e. what’s typed in the textarea.

    • select: The value property of the selected option is included. If the selected option doesn’t have a value property specified, the text of the option is used.

    • input type='text': The value property is included, i.e. what’s typed in the input field.

    • input type='password': The value property is included, i.e. what’s typed in the input field.

    • input type='submit': If the button was used to send the form, the value property is included, i.e. the text of the button.

    • input type='image': If the button was used to send the form, the coordinates of the mouse click within the image is sent in the post. Names for the x and y coordinates are created by adding ‘.x’ and ‘.y’ to the name of the element.

    • input type='checkbox': If the checkbox is checked, the value property is included. If the element has no value property specified, the value ‘on’ is used.

    • input type='radio': The value property is included from the selected item from each group. (A group is all radio buttons with the same name.)

    • input type='file': The content of the selected file is included, along with the original file path (or only the file name, depending on browser and security settings).

    • input type='hidden': The value property is included.

    • button: If the button was used to send the form, the innerText property is included, i.e. the text of the button with any html markup removed.

    A TextBox control is rendered either as an input type='text', an input type='password' or a textarea, depending on the TextMode property. A DropDownList control is rendered as a select element. A Button control is rendered as an input type='submit'. A CheckBox control is rendered as an input type='checkbox'. And so on… check the rendered html code to see what the actual html elements rendered are.

    A GridView only includes any data in the post if it contains any editable form fields, or if it causes a postback (by navigating in the list for example). When doing a postback there is some information stored in a pair of hidden fields, so any control that causes a postback but doesn’t send any form data by itself (like a LinkButton for example) does include information about what caused the postback.

    Controls may also put data in the ViewState, which is kept in a hidden field in the form. This is also included in the post, but it’s just sent to the browser and back again without being changed by the browser.

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

Sidebar

Related Questions

1 -I wonder that how to get which control posted back the page and
How do pass back values to a form that was posted to the server
According to the info in: Which values browser collects as a postback data? the
Summary: Disabled ASP.NET validators are losing their InnerHTML content when posted-back to the server,
This is the php code for date format on my web page function starkers_posted_on()
I recently posted a question about centering a page with CSS. I figured out
I'm getting my page wall with the open graph. And when someone posted a
Page has menu items that would replace a 'div id=foo_(current menu item)' with 'div
I'm creating a web server control that has an image button on it. The
Most browsers cache form input values. So when the user refreshes a page, the

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.