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

Clientside SHIFT + Arrow up not working correctly

2 Answers 66 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Per
Top achievements
Rank 1
Per asked on 21 Jan 2014, 09:58 AM
Hi!

I'm running the latest version of RadGrid and think I have found a bug.
I have a grid where users can use the arrow keys to change row and to select rows.
The user holds down the SHIFT key while pushing the Arrow Down key to select multiple rows.
This works fine but..

If the user holds down the SHIFT key and presses the Arrow Up key, only two rows can be selected and then the selection stops.

Is there a workaround for this?

Regards
Per

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 21 Jan 2014, 12:28 PM
Hi,

I was not able to replicate such an issue, here is a sample code that i tried. Please have a look and provide your code snippet if this doesn't help.

ASPX:
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="true" AllowMultiRowSelection="true" OnNeedDataSource="RadGrid1_NeedDataSource" Skin="Hay">
    <ClientSettings AllowKeyboardNavigation="true">
        <Selecting AllowRowSelect="true"></Selecting>
    </ClientSettings>
</telerik:RadGrid>

C#:
protected void RadGrid1_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
{
    dynamic data = new[] {
  new { ID = 1, Name = "Name1", Number=123},
  new { ID = 2, Name = "Name2", Number=234},
  new { ID = 3, Name = "Name3", Number=234},
  new { ID = 4, Name = "Name4", Number=456},
  new { ID = 5, Name = "Name5", Number=567},
  new { ID = 6, Name = "Name6", Number=567},
  new { ID = 7, Name = "Name7", Number=789},
  new { ID = 8, Name = "Name8", Number=896},
  new { ID = 9, Name = "Name9", Number=741}
 };
 RadGrid1.DataSource = data;
}

Thanks,
Princy
0
Per
Top achievements
Rank 1
answered on 21 Jan 2014, 05:26 PM

Hi


You are correct.

I now see that I posted in the wrong forum :(

The Control I'm having this problem with is the RadTreeView.



I will create a new post in the correct forum.



Thanks for you quick reply!



//Per

Tags
Grid
Asked by
Per
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Per
Top achievements
Rank 1
Share this question
or