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

RowEditEnded event fired when selecting value from combo box

0 Answers 56 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Shaimaa
Top achievements
Rank 1
Shaimaa asked on 08 Mar 2012, 06:34 AM
Hi everyone,

I'm working with the gridview. I'm trying to add a new row directly in the grid.
I have predefined columns , with the following types

Column1                        Column2                        Column 3                                Column4
GridViewDataColumn    GridViewDataColumn     GridViewComboBoxColumn    GridViewDataColumn

what i want to do is  that on the RowEditEnded, i check if it is an insert....and insert the record in the database.
When i enter data in the 1st column and press tab, it moves to the next, i add data to column2 and press tab , it moves to the 3rd column. From the 3rd column when i select something from the combo box and press tab to move to column 4, it fires the RowEditEnded event !!!! I was expecting this event to be fired on presseing tab on 4th column.

Why does a column with combo box triggers the roweditended.????

Anyone has noticed this behaviour before ?

Your helps and suggestions are most welcome

Regards,
Shaimaa

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Shaimaa
Top achievements
Rank 1
Share this question
or