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
Is asp.net 64-bit enabled? How?
What is the use of dispose method?
Which library is used by the testers and developers to develop automated tests and create testing tools?
What is data caching?
From which base class all web forms are inherited?
Does google crawl redirects?
What is cached data phone?
How do I open an ashx file?
What is masterpage?
When using the Pager object, inorder to know which page to go, which property you have to set to grid?
What is the difference between Hash table and Array list?
When was asp.net released?
Why will you usually create an aspnet user account in the database for an asp.net web application?
What is a postback ispostback and autopostback in asp net?
What are Master Pages in ASP.NET? or What is a Master Page?