What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState ?
Answer / nikhiul saxena
ViewState is the mechanism ASP.NET uses to keep track of server control state values that don't otherwise post back as part of the HTTP form. ViewState Maintains the UI State of a Page
ViewState is base64-encoded.
It is not encrypted but it can be encrypted by setting EnableViewStatMAC="true" & setting the machineKey validation type to 3DES. If you want to NOT maintain the ViewState, include the directive < %@ Page EnableViewState="false" % > at the top of an .aspx page or add the attribute EnableViewState="false" to any control.
Is This Answer Correct ? | 0 Yes | 0 No |
when to use webservice and when to use remotong diff between them
How would you get asp.net running in apache web servers? Explain it's limitations.
What does postback mean?
When does a session actually start?
how to convert varchar into datatype int............. in ASP
Is global asax mandatory?
You have two buttons in web form and i clicked on one of the button, so how do i find which button i've clicked on the form in my page load?
ADO.Net - how to get data from database and bind to the controls -- write this small code
Differences between session state and Application state?
What is WCF? Pls Explain clearly with exmple.
differences between class inheritance and interface?
What is cas?