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
What is asp short for?
Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)
What is AutoEventWireup attribute for ?
What is owin authentication?
What is view state management in asp net?
What is web configuration file and how to use in web application
What are the new data controls in asp.net 2.0?
What is difference between asp.net and asp.net mvc? : Asp.Net MVC
What is state management react?
What is rich control in asp.net?
Where is cookie used in asp.net?
What are assemblies and namespaces and explain the difference between them ?
What are the advantages and disadvantages of session?
How would you create a permanent cookie?
How will you load dynamic assembly? How will create assesblies at run time?