TabControl with Shift+Click

2 posts, 0 answers
  1. Jon
    Jon avatar
    3 posts
    Member since:
    Jun 2018

    Posted 14 Mar Link to this post

    Hello! I need to have a TabControl system where the tabs for the panes have 3 different states to them. 
    - Inactive: Not selected or active

    - Selected:  The tab is selected, but isn't the active pane

    - Active: The tab is selected, but is also active

    I want to be able to shift click multiple tabs to make them selected.  Then whatever pane has the focus, that would be the Active pane.  The reason for this is that I have a filter function that would filter that data this provided to the panes.  The user needs to be able to selected multiple tabs that would apply the filters to those selective and active panes. 

     

    Thanks!

  2. Dinko
    Admin
    Dinko avatar
    874 posts

    Posted 19 Mar Link to this post

    Hello Jon,

    Let me first point out that the RadTabControl does not support multiple selection. You can't have more than one tab selected. What comes up to my mind is to bind the RadTabControl to custom objects. In the custom class you can create custom bool properties which will represent your states. Then depending on the user action, key combination etc. you can set any of these properties to true or false. You can also use the PreviewSelectionChanged event of the RadTabControl to prevent selection of a RadTabItem when it is clicked. This way you can control the selection when an item is clicked. You can also check the following help articles:
    Regards,
    Dinko
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top