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

Radwindow error dimension with autosize mode

1 Answer 49 Views
Window
This is a migrated thread and some comments may be shown as answers.
Fabio Cirillo
Top achievements
Rank 1
Fabio Cirillo asked on 06 Mar 2013, 09:57 AM
hi,
 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");
}
</script>
</telerik:RadCodeBlock>
<telerik:RadWindowManager ID="RadWindow_Conferma" runat="server" Modal="True" Skin="Office2010Silver">
<Windows>
<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">
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>

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?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 06 Mar 2013, 03:56 PM
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.


Greetings,
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.
Tags
Window
Asked by
Fabio Cirillo
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or