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

Transparent Background

6 Answers 185 Views
Window
This is a migrated thread and some comments may be shown as answers.
Andrew Ross
Top achievements
Rank 2
Andrew Ross asked on 29 Aug 2008, 11:07 PM
I created a new skin and just set everything to Transparent.  Everything works great in Firefox, but in IE7 i get a white background.  After looking though the elements, through the developer toolbar, i see that an IFRAME has its background set to white.  I have tried many things and looked and looked but could not find a why to get it to work correctly in IE7.

Any help would be greatly appreciated.

Andrew

6 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 01 Sep 2008, 01:30 PM
Hello Andrew,

Could you please open a support ticket and send us your implementation so we can check it? Once we have a better view over your skin, we will do our best to help.


Greetings,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Rick Gipson
Top achievements
Rank 2
answered on 16 Nov 2009, 06:02 PM
Was a solution for this found? I have the same problem where the iframe background is transparent in FireFox and Safari and white in IE.  Please advise...
0
Rick Gipson
Top achievements
Rank 2
answered on 16 Nov 2009, 06:41 PM
It appears that to make the iframe transparent I need to set allowtransparency=true on the iframe that the RadWindow generates.  Is there a way to apply this via the Skin css?  I was able to apply the allowtransparency=true through the IE Developer toolbar an confirmed that it will work -- just need help identifying the css skin attribute to apply it to.

Thanks,

Rick
0
Jason
Top achievements
Rank 2
answered on 17 Nov 2009, 12:40 AM
I would like to give Rick's request a bump. I am experiencing the same issues. And through the developer tool I have been able to verify that the "allowtransparency=true" attribute and value is all I need to fix the issue. It is transparent in firefox, chrome, safari, but not ie.

Thx!!
0
Georgi Tunev
Telerik team
answered on 17 Nov 2009, 12:05 PM
Hello Jason,

I have just answered your support ticket on the same subject. For convenience I am pasting my reply below:


Indeed, in IE, the only way to add AllowTransparency is with JavaScript but this should not affect the viewstate. Please send us a small sample project where this problem could be observed so we can investigate - we will do our best to provide you with a solution.


Regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Rick Gipson
Top achievements
Rank 2
answered on 17 Nov 2009, 02:20 PM

For those monitoring this forum post that doesn't have access to see Georgi's support posting, I solved this by tying into the RadWindow's OnClientShow event:

        <telerik:RadWindowManager   
            Behaviors="None"   
            ID="RadWindowManager"   
            ShowContentDuringLoad="false"   
            Skin="Default"   
            runat="server" 
            EnableEmbeddedSkins="false" 
            DestroyOnClose="false" 
            VisibleStatusbar="false" 
            VisibleTitlebar="false">  
            <windows> 
                <TELERIK:RadWindow id="ShowModal" 
                    Modal="true" 
                    Runat="server"   
                    CssClass="iframe" 
                    OnClientShow="OnClientShow" 
                </TELERIK:RadWindow> 
            </windows>          
        </TELERIK:RadWindowManager> 

and here is the javascript function to set the allowTransparency...

function OnClientShow(sender, eventArgs) {  
    sender._iframe.allowTransparency = true;  

Hope this helps...

Rick Gipson
Tags
Window
Asked by
Andrew Ross
Top achievements
Rank 2
Answers by
Georgi Tunev
Telerik team
Rick Gipson
Top achievements
Rank 2
Jason
Top achievements
Rank 2
Share this question
or