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

Changing RadDock Expand Collapse image

1 Answer 104 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Hrushikesh Mokashi
Top achievements
Rank 1
Hrushikesh Mokashi asked on 26 Apr 2010, 02:59 PM
Hi all,

I am using a Raddock in my application.
For expand and Collapse there is a default button
(up and down button. I have attached it in the scren shot marked with Red color panel)

I want to replace that image with my custom image. Can anyone please let me know how I can achieve this?

Best Regards,
Hrushikesh.

1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 28 Apr 2010, 10:11 AM
Hello Hrushikesh,

The following CSS will set custom image to the ExpandCollapse command of RadDock for ASP.NET AJAX:

<style type="text/css">
    .rdCollapse
    {
        background: url('img/Collapse.png') no-repeat !important;
    }
    .rdCollapse:hover
    {
        background: url('img/Collapse_Hover.png') no-repeat !important;
    }
    .rdExpand
    {
        background: url('img/Expand.png') no-repeat !important;
    }
    .rdExpand:hover
    {
        background: url('img/Expand_Hover.png') no-repeat !important;
    }
</style>



Greetings,
Pero
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.
Tags
Dock
Asked by
Hrushikesh Mokashi
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or