1. Dynamic GridView rows in ASP.NET

    Here's a simple proof-of-concept for dynamically adding and removing rows in an ASP.NET GridView control while maintaining the existing data. The ViewState is used to maintain the information between postbacks. The rehydrate_table function takes advantage of this to rebuild the table anew whenever an event takes place.

    Default.aspx …

    read more
  2. Wipe all elements in a form with Javascript

    Javascript has a nifty method associated with the form DOM object called reset(). Using this method will revert all values of the form's associated input controls to the values they contained when the page was last sent to the user's browser. That's great... but if you want to revert the …

    read more
  3. Page 1 / 1