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

Window Autosize IE8

3 Answers 138 Views
Window
This is a migrated thread and some comments may be shown as answers.
Bruno Roberto
Top achievements
Rank 1
Bruno Roberto asked on 25 Jun 2010, 09:02 PM
Hi,

I'm having a problem in autosize "true" in IE8. window appears scroll bar.
This error only happens with IE8 anyone have any solutions?

thks,
Bruno.

<telerik:RadWindow ID="Win_Central" runat="server"                                
                                Modal="true"
                                Behaviors="Close"
                                InitialBehaviors="Close"                                                                                                                                
                                ReloadOnShow="true"                                
                                OnClientBeforeClose="OnClientBeforeClose"
                                OnClientClose="OnClientClose"
                                OnClientActivate="OnClientActivate"
                                AutoSize="true">
</telerik:RadWindow>

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 28 Jun 2010, 07:08 AM
Hi Bruno,

Make sure that you are using XHTML-compliant Doctype in the content and the parent page. e.g.:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

If this doesn't help, please open a support ticket and send us a small sample project where the problem could be reproduced so we can investigate further.

All the best,
Georgi Tunev
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
0
Bruno Roberto
Top achievements
Rank 1
answered on 28 Jun 2010, 01:18 PM
Hi,
I have this code in the Default page and others.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


the code, which in IE8 (compatibility) works and does not work in IE8.

Default.aspx
<form id="form1" runat="server"
                 
        <telerik:RadScriptManager ID="RadScriptManager1" Runat="server"
        </telerik:RadScriptManager> 
                 
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Modal="true"  
                                Behaviors="Close"  
                                InitialBehaviors="Close" > 
        <Windows> 
            <telerik:RadWindow ID="win1" runat="server" AutoSize="true" 
            NavigateUrl="WebForm1.aspx" VisibleOnPageLoad="true"></telerik:RadWindow>         
        </Windows>         
        </telerik:RadWindowManager>   
             
    </form> 

WebForm1.aspx
<telerik:RadScriptManager ID="RadScriptManager1" Runat="server"
    </telerik:RadScriptManager> 
     
         
    <table> 
        <tr> 
            <td> 
                <asp:Label ID="lbl_Inicial" runat="server" Text="Periodo Inicial"></asp:Label> 
                <telerik:RadCalendar ID="RadCalendar1" runat="server"
                </telerik:RadCalendar> 
            </td> 
             
            <td> 
                <asp:Label ID="lbl_Final" runat="server" Text="Periodo Final"></asp:Label> 
                <telerik:RadCalendar ID="RadCalendar2" runat="server"
                </telerik:RadCalendar> 
            </td> 
        </tr> 
        <tr>            
            <td align="right"
                <asp:Button ID="btn_Aplicar" runat="server" Text="Aplicar Periodo"/> 
            </td> 
            <td align="right">                 
                <asp:Button ID="btn_Fechar" runat="server" Text="Fechar"/> 
            </td> 
        </tr> 
    </table> 
0
Bruno Roberto
Top achievements
Rank 1
answered on 29 Jun 2010, 01:45 PM
problem solved using css below. thanks.

<style type="text/css">
        body, form, html
        {
            height: 100%;
            margin: 0px;
            padding: 0px;
        }
    </style>
Tags
Window
Asked by
Bruno Roberto
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Bruno Roberto
Top achievements
Rank 1
Share this question
or