if you disable view state of a textbox will it maintain
data during postbacks.if yes reason
Answer Posted / raja
yes, u will get the value displayed even u disabled ViewState
I used RAJNEESH answer and concept of ans:5.Take a textbox
In load event
if (!IsPostBack)
{
txtFirst.Text = "Initial";
}
and in form
make txtFirst as enableviewstate=false,Text="Final";
if you execute it. It displays as Initial only as this is
-------
having read/write property.
but if u make readonly="true" to txtFirst then it displays
as Final
-------
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Why is global asax is used for?
Explain how can you debug your .net application?
How does ASP.NET framework maps client side events to Server side events.?
What is AutoPostback?
Explain the features that make asp.net more used framework? : asp.net mvc
Explain managed code an un-managed code.
How does the service stream content?
How many ways are there to maintain a state in .net? What is view state?
What is the file through which you can customize your asp.net application?
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?
What is the difference between a multi-layer and multi-tier applications?
What is the difference between application state and caching?
Am not able to move the controls on the form freely in asp.net 3.5 even though I selected the position as relative or absolute for those controls. What should I do to overcome this?
How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?
Explain server side state management system.