How textbox keep data if Viewstate is Disabled

Posted by Alok under ASP.NET on 12/23/2011 | Points: 10 | Views : 4631 | Status : [Member] | Replies : 3
How a TextBox Preserves its Data if We disable The Viewsate of Textbox ...

Thanks & Regards,
Alokssm



Responses

Posted by: Arefin on: 12/24/2011 [Member] Starter | Points: 25

Up
0
Down
Hi,

You can preserve TextBox value in SESSION varable. you can see the following link to get a clear Idea
http://www.dotnetfunda.com/articles/article61.aspx

Thanks,
Arefin

Alok, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: RohiK on: 12/26/2011 [Member] Starter | Points: 25

Up
0
Down
another ways to store it in cookie, hidden fields

Happy Programming!!
Rohi

Alok, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksingh on: 12/26/2011 [Member] Starter | Points: 25

Up
0
Down
Hi,

By Control State of TextBox, it perseve data eventhough, we disable viewstate of TextBox.
For more details, visit http://msdn.microsoft.com/en-us/library/1whwt1k7(v=vs.80).aspx

Regards,
Sunil

Alok, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response