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

RadGrid-EnterButton DeleteComand

1 Answer 27 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sinan
Top achievements
Rank 1
Sinan asked on 08 Jul 2008, 11:47 AM
When my cursor is on a filterTextBox of a column on my grid, if I press EnterButton from the keyboard, grid tries to delete the first item in the list!!!

How can I owercome this problem?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 08 Jul 2008, 12:27 PM
Hi Sinan,

Try setting AutoPostBackOnFilter property for the Grid Column to false and  see whether the first item is getting deleted.

ASPX:
<rad:GridBoundColumn DataField="Country" AutoPostBackOnFilter="False" CurrentFilterFunction="contains"  HeaderText="Country" SortExpression="Country" 
                        UniqueName="Country"
                    </rad:GridBoundColumn> 


Shinu

Tags
Grid
Asked by
Sinan
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or