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

ContentURL Transparent Background

2 Answers 77 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Sarah
Top achievements
Rank 1
Sarah asked on 11 Feb 2010, 11:04 PM
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 Answers, 1 is accepted

Sort by
0
Sarah
Top achievements
Rank 1
answered on 15 Feb 2010, 01:56 PM
    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.
0
Svetlina Anati
Telerik team
answered on 16 Feb 2010, 10:33 AM
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:

http://www.telerik.com/help/aspnet-ajax/splitter_clientsideradpane.html

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,
Svetlina
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
Splitter
Asked by
Sarah
Top achievements
Rank 1
Answers by
Sarah
Top achievements
Rank 1
Svetlina Anati
Telerik team
Share this question
or