This is a migrated thread and some comments may be shown as answers.
Highlight GroupElement
7 Answers 41 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Craig Booth
Top achievements
Rank 1
Craig Booth asked on 04 Jan 2010, 10:56 AM
I wish to make the panel bar more like Outlook. I have select the OutlookNavPane as the group style, and I have modified the capiton with some additional code, but I am struggling the make the GroupElement highlight orange when it has been selected.

Can this be done? What is the best way to do this?

Thanks.

7 Answers, 1 is accepted

Sort by
0
Craig Booth
Top achievements
Rank 1
answered on 04 Jan 2010, 11:38 AM
I have found a post on page 2 showing how this is done entitled "Selected color on RadPanelBarGroupElement - June 2008".

It looks like it has to be done programmatically, rather than a setting. The above thread does indicate that this would become default behaviour in the next release - doesn't seem to be the case though.
0
Accepted
Nikolay
Telerik team
answered on 04 Jan 2010, 02:28 PM
Hello Craig Booth,

Maybe, my colleague Martin did not express himself correctly. He meant to say the feature will be included in one of our next releases, but he did not specified in which release exactly.

However, the feature that Martin concerned is already implemented, so now you can make the selected group orange by modifying the default themes. This is the best way to achieve the desired look and feel.

The key part of the custom theme is the Telerik.WinControls.UI.RadPanelBarVisualElement.Selected property that you should use in the RadPanelBarVisualElement state tabs. For additional information about Visual Style Builder, please refer to these support resources:
Creating a Theme for RadPanelBar
State Editor
State Precedence Rules

I am attaching a sample theme based on the ControlDefault theme. The states that I created for the RadPanelBarVisualElement can be used as a pattern in case you want to modify other themes.

I hope this helps. if you have additional questions, feel free to contact me.

Regards,
Nikolay
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Craig Booth
Top achievements
Rank 1
answered on 07 Jan 2010, 11:28 AM
OK - I have worked through this and now see how it works.

I was initially curious as to why the MouseOver states were needed together with the Selected state, but I presume that the state engine only evaluates based upon change - hence you need to include a mouse event so that Selected condition is evaluated.

Thanks Nikolay
0
Haroon
Top achievements
Rank 1
answered on 22 Feb 2010, 05:53 AM
I used the theme "RadPanelBarOutlook2007.xml" you provided with group style as "Listbar". The problem I encountered is that, on fast selection of group elements appeared as shown in attached screen shots.

I am using "RadControls for WinForms Q3 2009 sp1".

Is there a problem or i missed something? What is the best way?
0
Nikolay
Telerik team
answered on 23 Feb 2010, 09:34 AM
Hello Haroon,

I was able to reproduce the described issue and we will address it in one of our next versions. However, I am not able to provide you with a workaround for the time being.

Your Telerik points have been updated for the report.

Regards,
Nikolay
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Abdulrahman Nabil
Top achievements
Rank 1
answered on 18 May 2010, 02:45 PM
Dear Nikolay ,
Good day ,thanks for your nice supporting but i have a problem here as this thread denoted and after i applied the solution that you came with i find its work only in design time and in the first state when the form load if i clicked on the group the slected color never return .
I add this
Telerik.WinControls.UI.RadPanelBarVisualElement.Selected property that you should use in the RadPanelBarVisualElement state tabs.

Can you help this , I will aprciate so much this important feature in your colection as it simulate the outlook correctly.

Yours
Abdulrahman nabil
0
Jack
Telerik team
answered on 21 May 2010, 01:55 PM
Hello Abdulrahman Nabil,

In Q1 2010 we released our new Visual Style Builder. You can find more about it in the help as well.

The theme provided in this thread is created with the old version of the style builder and it can't be used directly with the new one. Nevertheless, with our new style builder it is much easier to modify an existing theme. Please, review the documentation and let us know if you need additional assistance.

All the best,
Jack
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Asked by
Craig Booth
Top achievements
Rank 1
Answers by
Craig Booth
Top achievements
Rank 1
Nikolay
Telerik team
Haroon
Top achievements
Rank 1
Abdulrahman Nabil
Top achievements
Rank 1
Jack
Telerik team
Share this question
or