Logo 
Search:

Asp.net Forum

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds

Insert to DG

  Asked By: Ricky    Date: Jun 21    Category: Asp.net    Views: 1229
  

I have a lot of examples that have the insert row below all the records that allows one to insert values into the db and then rebinds the grid to show the relevant additions.


One thing that I haven't seen though is that the insert column is not always in edit mode. To explain better, all the examples the insert row is in edit row exposing the textboxes or drop downs etc.


What I would like to do is have a blank row at the top of the grid with a "Add New Record"(for example) link button when that link is fired then the top row(only the top row) is changed to edit mode and then the user can use the controls to add a new row , there will be the normal "insert" and "Cancel" buttons once in edit mode (once "Add New record" event/button is fired)



Share: 

 

1 Answer Found

 
Answer #1    Answered By: Reamonn Fischer     Answered On: Jun 21
 
Didn't find what you were looking for? Find more on Insert to DG Or get search suggestion and latest updates.




Tagged: