-----------------------------------------------------------
New Message on MumbaiUserGroup
-----------------------------------------------------------
From: ®aviBhatia
Message 5 in Discussion
New Message on MumbaiUserGroup
Questions in .Net Interview Questions section
Reply
Reply to Sender
Recommend
Message 3 in Discussion
From:
®aviBhatia
New Message on MumbaiUserGroup
Questions in .Net Interview Questions section
Reply
Reply to Sender
Recommend
Message 1 in Discussion
From:
®aviBhatia
This is regarding the Questions in .Net Interview Questions
section of this group. The below given question in ASP.Net section What is
view state and use of it?
The current property settings of an ASP.NET page and those of any ASP.NET
server controls contained within the page. ASP.NET can detect when a form is
requested for the first time versus when the form is posted (sent to the
server), which allows you to program accordingly. I dont think, it s a
complete post because the answer neither tells what the viewstate is, nor it
says the use of it. Here is the explaination in brief
Page level state is information maintained when an element on the web form page
causes a subsequent request to the server for the same page - referred to as
'postback'. This is appropriately called ViewState as the data involved is
usually, though not necessarily, shown to the user directly within the page
output.
The Control.ViewState property is associated with each server control in your
web form and provides a dictionary object for retaining values between such
multiple requests for the same page. This is the method that the page uses to
preserve page and control property values between round trips.
When the page is processed, the current state of the page and controls is
hashed into a string and saved in the page as a hidden field. When the page is
posted back to the server, the page parses the view state string at page
initialization and restores property information in the page.
View other groups in this category.
View other groups in this category.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]