This is a migrated thread and some comments may be shown as answers.

Can you use the AddNewRecordButton without having it insert a new row?

1 Answer 30 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 29 Apr 2011, 04:45 PM
I want to use teh "AddNewRecordButton"  because I want to fire off the ItemCommand eventHandler. However, I dont want to have a new row inserted into the grid...I want to run my own function instead...is there a way to do this?


Thanks

1 Answer, 1 is accepted

Sort by
0
Matthew
Top achievements
Rank 1
answered on 29 Apr 2011, 06:33 PM
Just needed to use teh CommandItemTemplate and construct my own object to use instead of teh default add new row.
Tags
Grid
Asked by
Matthew
Top achievements
Rank 1
Answers by
Matthew
Top achievements
Rank 1
Share this question
or