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 |
What is query string? What are its advantages and limitations?
In which event are the controls fully loaded?
I have one application, one user purchase some products in my application? and another person came he is also purchase some products?how can we identify which user purchase which items? my answer is by using session id? but i dont know how? can u give me programming for that?
Why asp.net mvc is better than asp.net? : Asp.Net MVC
Which is an advantage of application service providers?
What is mvc in asp.net tutorial? : Asp.Net MVC
Explain the main function of razor in asp.net? : asp.net mvc
What is the name of the process the browser uses to find the address of a web server? a) DMZ b) DNS c) Active Directory d) Database lookup
How do you create a permanent cookie?
If i have a page where i create an instance of a dll and without invoking any method can I send values to next page ?
What is Difference between Production Serves and Development Servers? And Suppose, m adding/deleting C# file in a project based on the Specific Requirement. These Files are Automatically updated in Production Servers? So Which tool is needed to do This One?
How can we register exception filter from the action?