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

Show insert row until is data is not valid

2 Answers 73 Views
GridView
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 23 Feb 2011, 09:22 PM
I use gridview with with ShowInsertRow property set to true. After user inserts data into this row RowValidating and EditRowEnded events are invokeg. How can I lock InsertRow to be visible(gridView is in InsertMode) until data is not valid?

regards

2 Answers, 1 is accepted

Sort by
0
John
Top achievements
Rank 1
answered on 24 Feb 2011, 08:46 AM
is there no solution for programmaticaly block InsertMode in EditRowEnded event?
0
John
Top achievements
Rank 1
answered on 24 Feb 2011, 10:07 AM
I found it myself.
There is IsValid property for single row. If it is set to false Insert or EditMode is locked
Tags
GridView
Asked by
John
Top achievements
Rank 1
Answers by
John
Top achievements
Rank 1
Share this question
or