Hello Everyone,
I am very much new to this site as well as ..Net(11 months of experience only) and i even don't know if it is the write place to submit my queries and if "yes" then how can i see for the solution??So,if by chance i have made any mistake please forgive me.I know it's a very smalll thing to ask but for the last 4 days i am struggling to understand "viewState" in asp.Net.I even visited http://msdn.microsoft.com/en-us/library/ms972976.aspx but unfortunately i was not very clear.Can anyane tell me hoe does "viewState" works??Is there any site which uses it??Someone told me that suppose you are using gmail on a system by your email id ankita12.meh@gmail.com then as soon as u again log in to gmail on that system asnd you type "a" in the userid you will get "ankita12.meh" as an intellisense(I know this intellisense word is wrong here)..Is it due to viewState??I read somewhere on net that suppose you entered your username and password and the login failed then u'l be on the same page and the user id will display your name,means there is no need to fill the user if again..So is it due to viewState??Both the examples of ViewState confused me.I then took a textbox on a form along with a button and i did not code anything.I made "Enable biewstate" of the textbox as well as the form "False".When the page got loaded i entered a value in the text box but even after the button click event and reload of the page the textbox was retaining its value.I had not done anytype of coding or anyting an button click.The source code of that page was also showing some encrypted value as "viewState" instead of making "EnableViewState" as false.This topic has almost confused me...Please..please help me.I am using .Net 3.5.
Thanking You;
Ankita