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

[Solved] Unable to identify whether row is selected or not in self-referencing hierarchy grid

1 Answer 84 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Taran
Top achievements
Rank 1
Taran asked on 01 Sep 2009, 01:46 PM
Hi,

I am using self-referencing hierarchy grid on aspx page. I have added one  method 

OnRowContextMenu client side event. Now when user right click on

 

 any data row i am unable to check whether user has selected some row in grid or not in client side code. I also want to select some row using client side code in self-referencing hierarchy grid.

Your help would be appriciable.

Regards
Amit

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 04 Sep 2009, 01:54 PM
Hello Amit,

You can use the implementation from this integration example as a starting point:

http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandmenu/defaultcs.aspx?product=grid

and port it to use self-referencing hierarchy. To detect whether the right-clicked item is selected, you can check its get_selected value.

Best regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Taran
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or