Problem with RadTabControl

2 posts, 0 answers
  1. Saranya
    Saranya avatar
    9 posts
    Member since:
    Oct 2010

    Posted 22 Nov 2010 Link to this post

          I am using a RadTabControl and the RadTabItems are created using a datatemplate. I am having an RadPanelbaritem as accordion inside the tabcontrol. I am using MVVM model and there is no code behind. when the tab selection changes, the search will be based on the tab id and if i click on the panelbaritem, the search will be done within that panelbaritem. If i click again on the same tab(Selection Changed will not be fired here) the search should be done for that tab id. Since there is no click event for the tab control and the selection changed event will not fire within the same tab, i used MouseLeftButtonUp event to capture the click event. but during clicking of the radpanelbaritem, it even triggers the mouseleftbuttonup event instead of Accordion Selection Changed event. Which event should i capture for refreshing the tab?

    Thanks in advance
  2. Petar Mladenov
    Petar Mladenov avatar
    2992 posts

    Posted 25 Nov 2010 Link to this post

    Hi Saranya,

    I prepared a sample for you demonstrating the desired approach. Basically, I only use MouseLeftButtonUp event of the RadTabControl  and make some check-ups in the method handler.
    Please examine the solution and let me know if it satisfies you completely. I would be glad to assist you further.

    Petar Mladenov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
Back to Top