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

Problem with RadTabControl

1 Answer 119 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Saranya
Top achievements
Rank 1
Saranya asked on 22 Nov 2010, 12:00 PM
Hi,
      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
R.Saranya.

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 25 Nov 2010, 11:07 AM
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.

Regards,
Petar Mladenov
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
TabControl
Asked by
Saranya
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or