amittinku wrote:
Whatever I put in textbox, reset clears it.
Because you are not in a form, you have no viewstate, I thought.
amittinku wrote:
Now click on say screen. post back will take place, page load will occur. Now I click on "reset", text does not get cleared. WHy?
Removing the form means that the behaviour of the controls is going to be unpredicatable. Viewstate works on post variables, they get posted in the context of a form. No form, no viewstate. I guess autopostback creates a post that does persist the data.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.