I'm creating an ASP.NET web page and wanted to reload the site or press the "f5" key all the textbox data would change to "".
I'm creating an ASP.NET web page and wanted to reload the site or press the "f5" key all the textbox data would change to "".
Just put textboxes to "" (null) when the page does Load ()
As you are informed that you are not using PostBack
for any operation, you can turn off ViewState. In the page declaration in your .aspx
add the EnableViewState="false"
attribute.
<%@ Page EnableViewState="false" ...