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

Rounded corners with gradient background

4 Answers 142 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Tanuj
Top achievements
Rank 1
Tanuj asked on 04 Mar 2008, 03:14 PM
i looked at the different skins for dock objects, the Mac skin and the telerik skin seem to have a rounded corners, however they seem to work only when the background color is set accordingly with the corresponding solid color.

i have a situation where my background is a not a solid color but a gradient image. i am cutting the corners for left and right as transparent images, however the transperant area is being filled up by the backcolor of the dock.

please advise if this is acheivable with prometheus controls.

4 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 10 Mar 2008, 06:20 AM
Hi Tanuj,

The current rendering of RadDock Prometheus does not allow such kind of skinning. However, we are developing new html rendering for it, that will allow rounded corners and it will be released with Q1.2008.

Greetings,
Martin Ivanov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
LeBear
Top achievements
Rank 1
answered on 29 Jul 2008, 10:12 PM

For this question, has this been done, and is this what the classes rdTopLeft, rdTopRight, rdTopCenter, etc. are for?  and if so (and if not, too) can the documentation at http://www.telerik.com/help/aspnet-ajax/dock_appearancecssselectors.html be updated to include the purpose of these additional css classes?

Now related to this,I am looking to create a title bar that has rounded corners.  I know I can do this with the title TitlebarTemplate, but I'd like to do this just with a skin.

Is this possible/coming?

Thank you.

0
Martin
Telerik team
answered on 31 Jul 2008, 10:33 AM
Hi Barry,

You can achieve rounded corners layout with these new classes. In order to use them, you need to set the resizable property of RadDock to true. Otherwise the surrounding html with these classes will not be generated. With this additional html you have all necessary elements to add rounded corners to your dock objects.

Regards,
Martin Ivanov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Accepted
LeBear
Top achievements
Rank 1
answered on 31 Jul 2008, 12:13 PM

Thank you.

Tags
Dock
Asked by
Tanuj
Top achievements
Rank 1
Answers by
Martin
Telerik team
LeBear
Top achievements
Rank 1
Share this question
or