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

RadPane background Image

1 Answer 118 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Ragu
Top achievements
Rank 1
Ragu asked on 18 Apr 2013, 11:41 AM
Hi All,

   I have a RadPane inside the RadSplitter control. I want to set the background image for the RadPane.
I tried to use cssclass, in which I set the background image, but it is not working. if I set the background color using cssClass, it is working fine.
Please help me to resolve this.

Thanks,

V. Raguraman.

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 22 Apr 2013, 03:35 PM
Hi Ragu,

You could add a background image to a RadPane with the following code:
<telerik:RadSplitter ID="radsplitter1" runat="server" Width="1200px" Height="700px">
    <telerik:RadPane ID="radpane1" runat="server" CssClass="backgroundImage">
    </telerik:RadPane>
    <telerik:RadPane ID="radpane2" runat="server">
    </telerik:RadPane>
</telerik:RadSplitter>

CSS:
.backgroundImage
{
    /*A link to the desired image here:*/
    background-image: url("../image.jpg");
}

Here you can see a screenshot with the result of the styles above - hope it would be helpful for you.

Regards,
Veselina Raykova
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
PanelBar
Asked by
Ragu
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or