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

SelectedItems not launching

3 Answers 57 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dom
Top achievements
Rank 1
Dom asked on 13 Oct 2011, 03:45 PM
I have a List which I use to populate a RadTabControl.

Inside this list, we can find another list which i put inside a GridView.

Both of those are inside the DocumentHost in the RadDocking.

My problem is that I want to know which element is selected inside the gridView so I can show something on the gridview docked on the right side of the screen.

Problem is that selecteditem from the gridview doesn't launch.

I tried with a simple gridview outside the tabcontrol, and it worked fine.

Is it a limitation because my grid is inside a RadTabControl?
Or is it something else?

Thanks

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 17 Oct 2011, 08:19 AM
Hi Domingos,

I have tried to reproduce the issue you reported, but unfortunately without any success. Do you want to achieve something similar to the scenario in this blog post, but placing the elements in RadTabControl ? I am attaching the sample I used for testing the case (it based on the one in the blog). Could you get the same behavior on it ?
 

All the best,
Maya
the Telerik team

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

0
Dom
Top achievements
Rank 1
answered on 17 Oct 2011, 04:20 PM
Problem isn't with the multiple selectedItem but with the single selecteditem.

In my case I have :

List of tabControls.
SubList in a datagrid (for each tabcontrols)
Select something in datagrid, I show details right side.

Haven't been able to make it work with your example yet, and I can't even attach the file anyway.

Will try again tomorrow.

In the mean time i was able to bypass the problem, by getting the selectedItem in the

RadGridView_SelectedCellsChanged method. Which works but was hoping to make it work directly with selecteditem to save code.

0
Maya
Telerik team
answered on 20 Oct 2011, 10:38 AM
Hello Dom,

I am glad that you have found a workaround that works for you. Still, if you need any further assistance, please provide some more information on your requirements and specific settings. How are the grids bound, where do you display the row details (in another tab ? ), is the item in the row details displayed ?
Generally, any relevant information would be helpful. If you could reproduce the behavior on the sample project it would be great as I will be able to debug it on my side.


Kind regards,
Maya
the Telerik team

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

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