ContentURL Transparent Background

3 posts, 0 answers
  1. Sarah
    Sarah avatar
    19 posts
    Member since:
    Mar 2009

    Posted 11 Feb 2010 Link to this post

    I have a radsplitter as followed:
    Left Pane : Treeview
    Right Panel : Uses the "ContentURL"

    I need the page being loaded into the right panel contenturl background to be transparent so that it doesnt overlap the background set for the right panel.
    How may I go about this?
    Thanks in advance.


    - Update -
    How do I had "allowTransparency=true" to the iframe generated by radsplitter?  This is what I need to get the transparent to work in IE.
  2. Sarah
    Sarah avatar
    19 posts
    Member since:
    Mar 2009

    Posted 15 Feb 2010 Link to this post

        function IeFix() { 
                var pane = $find("<%= RadPane1.ClientID %>"); 
                if (pane) { 
                    var obj = pane.getExtContentElement(); 
                    obj.allowTransparency = true

    I call the function on RadSplitters OnClientLoaded like so:

        <telerik:RadSplitter ID="RadSplitter1"  runat="server" " OnClientLoaded="IeFix">

    Hope that helps anyone else.
  3. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 16 Feb 2010 Link to this post

    Hi Sarah,

    Your solution is the correct and reliable one in this case - when you use the ContentUrl property you actually create and IFRAME in the RadPane and you can reference it by using the getExtContentElement method which is listed below:

    I would like just to confirm that the solution is valid and also to inform you and others who might need this information that similar solution can be used for any other adjustment you might need - you should reference the IFRAME and then manipulate it as a standard IFRAME element.

    Sincerely yours,
    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.
Back to Top