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

how to add double click event for a radgridview which is in template?

3 Answers 114 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Prakash
Top achievements
Rank 1
Prakash asked on 13 Jan 2012, 07:51 AM
I have added radgridview inside RadTreeView itemtemplate. I want to add double click event for gridview cell. Could you please give us a solution how to add double click event for a gridview which is in template?

We have posted this in different forum. we didn't get any reply. it is some urgent requirement. Could you please give is a solution?

Thanks
Prakash

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 13 Jan 2012, 08:18 AM
Hi Prakash,

 
I would recommend you to run through our demos for a reference.

Kind regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Prakash
Top achievements
Rank 1
answered on 13 Jan 2012, 08:36 AM
Hi

I have already seen this demo. we are not using view model. Our requirement is very straightforward.

One RadTreeView-> ParentTreeViewItem->ExpandTreeview Item->Load RadGridView in Child treeview Item(using   <telerik:HierarchicalDataTemplate>)

We have seen some inputs from the link on how to add double click to gridview cell:
http://www.telerik.com/community/forums/silverlight/gridview/double-click-event-on-row-of-radgridview.aspx

But here RadGridView is not in ItemTemplate. How will u find a GridView which in RadTreeView ItemTemplate and add cell double click event?  Could you please give me clear solution for this?

Hope you understand my requirement.

Thanks
Prakash
0
Maya
Telerik team
answered on 16 Jan 2012, 11:08 AM
Hello Prakash,

Actually, there should be no problems to implement the same idea as the one illustrated in the demo even though the grid is defined in a template. 
I am attaching a sample project illustrating it. 

All the best,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Prakash
Top achievements
Rank 1
Answers by
Maya
Telerik team
Prakash
Top achievements
Rank 1
Share this question
or