What should you do to store an object in a viewstate?
Answer / Ankit Jauhari
To store an object in ViewState in ASP.NET, first serialize the object using the System.Web.UI.ScriptBuilder or BinaryFormatter classes, and then add it as a key-value pair to the ViewState dictionary.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is Ajax design pattern in .NET?
Is .net core managed code?
1.What is the major advantage of polymorphism? Please don't simply say binding. Specify any other reason.
Explain role-based security in .Net.
What is iis? Have you used it?
Can you configure a .NET Remoting object via XML file?
What are the security policy levels in .Net
Explain how to manage pagination in a page using .net?
What does the "EnableViewState" property do?
What is reflection and what is it for?
What is .net3.0 and .net3.5?
How to create properties and methods using controls?