Edit GridView data without displaying default Edit, Update and Cancel buttons

ASP.NET GridView control provides an easy way to edit and update data with the help of CommandField column type. The default CommandField arrangement is such that the Edit, Update and Cancel buttons are displayed in a column. The problem with this design is that the GridView edit column always occupies some screen real estate. Additionally in the edit mode the GridView expands horizontally disturbing the page layout. Luckily, with some easy trick you can render an editable GridView without displaying the default Edit, Update and Cancel buttons. This post shows how.

http://www.bipinjoshi.net/articles/4afd676c-693b-40e2-ac86-129429c71078.aspx

 

No Comments