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

RibbonBarTab with ImageUrl

3 Answers 31 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Meninx
Top achievements
Rank 1
Meninx asked on 31 Dec 2012, 03:09 PM
Hello,

I used to use the old version of RibbonBar while it was developed by Russel Mason.
Today I updated my telerik version to the  2012.3.1016.35 version, and for like every upgrade, some changes are to be made.
I was surprised to see that the RibbonBar is not exactly the same, the RibbonBarTab don't have the ImageUrl property, as well as the ApplicationMenu.

Is there a way to implement this in the next release ?

I tried the change the css, inherting the ribbonbartab and override the RenderContents, but nothing worked well.

Is there here a workaround to have this feature ?

Thanks a lot !

Regards

3 Answers, 1 is accepted

Sort by
0
Ivan Zhekov
Telerik team
answered on 03 Jan 2013, 08:01 AM
Hello, Jean.

In the initial releases of the RibbonBar, the tabstrip used was RadTabStrip. Yet, the Ribbon own tabstrip was a bit different according to the Microsoft specification. For instance no ImageUrl property or image attachment of any kind.

When we began implementing it more closely we saw this difference and we fixed the tabs. Even better -- we made new tabs that are thin in all aspects -- features, JS, HTML and CSS weight.

That said, the tabs can not be reverted to their previous form.

You could try to work around that by using both CSS and JS, but it will not be an elegant solution. In short you will need to change the look of the tabs to using more CSS instead of images (think CSS rounded corners and not images). Then with JS you need to add span elements in each tab and apply styles to those as well.

If the above sounds OK to you I could prepare a sample snippet for the default skin.

Regards,
Ivan Zhekov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Anton
Top achievements
Rank 1
answered on 30 Jan 2013, 07:00 AM
HI Ivan

Could you please provide the Snippet for the default skin.

Kind Regards,

0
Ivan Zhekov
Telerik team
answered on 04 Feb 2013, 01:29 PM
Hi, Anton.

I have attached one way you could achieve something similar to ImageURL without being image URL and it's implications.

Note that this is a custom scenario that's conflicting with the Ribbon's design and thus an unsupported one. It's highly unlikely that issues will arise from those changes, but in case those happen -- just remove the custom scripts.

Regards,
Ivan Zhekov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
RibbonBar
Asked by
Meninx
Top achievements
Rank 1
Answers by
Ivan Zhekov
Telerik team
Anton
Top achievements
Rank 1
Share this question
or