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

Ask A Question

Stats

  • Questions 69k
  • Answers 69k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer After doing my own research and testing, a single NDIS… May 11, 2026 at 12:35 pm
  • added an answer In C#, a class by default does NOT have it's… May 11, 2026 at 12:35 pm
  • added an answer That is only available on a Custom server control... Here… May 11, 2026 at 12:35 pm

Related Questions

I need to select data when a page is viewed and update the 'views'
Is there anyway to automatically run javascript:window.print() when the page finishes loading?
What is the best way to redirect to the login page when the session
When a web form is submitted and takes the user to another page, it
How to implement a web page that scales when the browser window is resized?
For example, If I have a textbox with runat=server on a page, The value
I have this strange issue with my web app. You see, I'm using jQuery
I'm trying to wrap my head around asp.net. I have a background as a
Every time a user posts something containing < or > in a page in
Using ASP.NET MVC there are situations (such as form submission) that may require a

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.