RadPane background Image

2 posts, 0 answers
  1. Ragu
    Ragu avatar
    9 posts
    Member since:
    Feb 2012

    Posted 18 Apr 2013 Link to this post

    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.
  2. Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 22 Apr 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top