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

keyboard left/right expand collapse operations

1 Answer 35 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
mirang
Top achievements
Rank 1
mirang asked on 18 Jan 2012, 12:22 PM
The radtreeview node expands and collapses both using left arrow key and right arrow key. Is there a way to restrict the user to expand only using right key and collapse using left key, other than handling javascript events?

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 20 Jan 2012, 12:57 PM
Hi Mirang,

 
The only way to achieve this functionality is to use the onClientKeyPressing event and cancel it the appropriate cases.
 

Greetings,
Plamen Zdravkov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
TreeView
Asked by
mirang
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or