Posted on: 3/22/2012 1:34:00 PM | Views : 409

I've been trying to uncover the best way to clear controls after a web form has been submitted.  I've been trying to use jquery to accomplish this task but given that scripts will run first my web page is cleared and when my server event runs it stores an empty record in the database.
Given the problems I'm having with trying to clear my web form with JQuery it got me questioning whether I'm taking the right approach.  With that in mind, am I taking the wrong approach trying to clear my form on the client side?  I read everywhere that round trips to the server should be avoided as much as possible but in the case of clearning a form, when you submit the form you've already made the trip to the server so why not clear the contents of all the controls at the same time?  Am I wrong in this thinking especially how convoluted it seem to be when trying to clear a form from the client side.  I've also noticed clearing the form on the client side presents pr ...

Go to the complete details ...