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
How is the asp.net mvc architecture different from others? : asp.net mvc
Which is the best institute to learn Microsoft Technologies and the faculty if you Know?
Do gac'ed assemblies have fulltrust?
How can we prepairing Interview
Which is faster viewdata or viewbag?
How to disable cut, copy and paste in TextBox using jQuery in asp.net?
What is the difference between exe and dll?
How do you create a master page?
What is IPostBack? How to use it?
How you can access the values from the Repeater control in ASP.NET?
What is the main function of url routing system in asp.net mvc? : asp.net mvc
What are server objects?
What is skin in asp.net?
What is autopostback in asp net?
What is the difference between ASP.NET Webforms and ASP.NET MVC?