SelectedItems not launching

4 posts, 0 answers
  1. Dom
    Dom avatar
    18 posts
    Member since:
    May 2011

    Posted 13 Oct 2011 Link to this post

    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
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 17 Oct 2011 Link to this post

    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 >>

  3. Dom
    Dom avatar
    18 posts
    Member since:
    May 2011

    Posted 17 Oct 2011 Link to this post

    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.

  4. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 20 Oct 2011 Link to this post

    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 >>

Back to Top