locked
reset form in asp.net web page RRS feed

  • Question

  • User136806914 posted

    Hi,

    I am trying to reset a form and on the button i set a property onClientClick="this.form.reset(); return false;". It works fine in some cases but sometimes i populate the textbox values

    using session variables. onClientClick doesn't reset the values when session variables populate the controls. Is there a better way of handling reset form

    Thanks,

    Praveen

    Thursday, July 21, 2016 11:00 PM

Answers