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

Group collapse on carriage return

1 Answer 32 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Florian Dubath
Top achievements
Rank 1
Florian Dubath asked on 15 Apr 2010, 04:42 PM
Hi,

I encounter the following problem for pages with a grid with data and at least one grouping row:

When the grid DO NOT have the focus and the user do a carrige return
  • the grid intersept the event and collapse (or expend) the first grouping row.
  • the keyboard event is consumed: (that is no more available for other controls)

How could I disable this behavior?

Thanks in advance.

Florian

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 20 Apr 2010, 05:11 PM
Hi Florian,

This is a behavior of the ASP.NET framework which sets the first encountered button on the page as the default one for the form. This button is fired always when the ENTER key has been hit. One possible approach is to insert a hidden button on your page and set it as the default one for the form (through the latter's DefautButton property).

Hope it helps.

Regards,
Tsvetoslav
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Florian Dubath
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or