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 session and application variable in asp net?
Describe the Server Control Events of ASP.NET?
What is cross page posting in asp net?
Why web api is better than wcf?
Which object is used to encapsulate the state of the client and the browser in ASP.NET?
How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?
Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?
Which protocol is used to call web service?
How to prevent client side validation from the ASP.NET validation controls?
What are the uses of reflection?
How to sign out from forms authentication?
What is difference between view and partial view?
What is viewstategenerator?
What are the navigation ways between pages available in ASP.NET?
What is difference between session and cookie?