M
msnews.microsoft.com
Hello All,
I am very new to ASP.NET and I have a basic question. Can somebody please
explain?
I have an .aspx Web Page with a textbox control.
When the Page initially loads I am calling a Javascript function to write a
text information in the text box.
After that when I refresh the Page, I was hoping the information in the
textbox will be lost. But it stays.
I thought the 'EnableViewState' is set to 'True' and I made it 'False'.
Then when I refresh the page still my text stays in the TextBox.
This is confusing me.
I thought WebPages make round trips to server and hence new page is loaded
everytime. But how is my text still staying the text box?
Any suggestion?
Thanks for your time.
Regards
Anand Ganesh
I am very new to ASP.NET and I have a basic question. Can somebody please
explain?
I have an .aspx Web Page with a textbox control.
When the Page initially loads I am calling a Javascript function to write a
text information in the text box.
After that when I refresh the Page, I was hoping the information in the
textbox will be lost. But it stays.
I thought the 'EnableViewState' is set to 'True' and I made it 'False'.
Then when I refresh the page still my text stays in the TextBox.
This is confusing me.
I thought WebPages make round trips to server and hence new page is loaded
everytime. But how is my text still staying the text box?
Any suggestion?
Thanks for your time.
Regards
Anand Ganesh