Radwindow error dimension with autosize mode

2 posts, 0 answers
  1. Fabio Cirillo
    Fabio Cirillo avatar
    181 posts
    Member since:
    Jan 2010

    Posted 06 Mar 2013 Link to this post

     i use the autosieze mode, this is my code:
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
    function openRadWindow(email) {
    var oWnd = radopen("appuntamento.aspx?email=" + email, "RadWindowAppuntamento");
    <telerik:RadWindowManager ID="RadWindow_Conferma" runat="server" Modal="True" Skin="Office2010Silver">
    <telerik:RadWindow ID="RadWindowAppuntamento" runat="server" Style="z-index: 8000"
    ShowContentDuringLoad="false" Behaviors="None" AutoSize="true"
    Modal="True" Behavior="None" Font-Names="Verdana" Font-Size="Small" ReloadOnShow="True"
    IconUrl="/image/iconlogo.png" Width="200px" Height="100px"
    VisibleStatusbar="False" Skin="Office2010Silver" NavigateUrl="appuntamento.aspx"
    EnableViewState="False" InitialBehaviors="Close">

    and i call radwindow from code behind:

    Private Sub Btn3_Click(sender As Object, e As System.EventArgs) Handles Btn3.Click
        ScriptManager.RegisterStartupScript(Me, Me.[GetType](), "key", "openRadWindow('" & contenitoredati.Value & "');", True)
    End Sub

    now when i call the radwindow, the result is wrong, please see the image posted...

    How can do it?

  2. Marin Bratanov
    Marin Bratanov avatar
    3899 posts

    Posted 06 Mar 2013 Link to this post

    Hi Fabio,

    As I explained in your other thread - this help article lists the requirements for autosizing to work properly. Without seeing the actual content that is being problematic it is very difficult to say what is causing the issue. Floated elements, hidden overflow and no dimensions, elements that hide with the visible CSS property and not with display can all break the autosizing.

    Marin Bratanov
    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.
Back to Top