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

Radwindow overlay creates scrollbars on first load but not second

1 Answer 18 Views
Window
This is a migrated thread and some comments may be shown as answers.
Craig
Top achievements
Rank 1
Craig asked on 30 Oct 2013, 02:17 PM
I have two rad windows, one that opens inside the other.

On the second rad window, when made visible using server side code, scrollbars appear with vast space given to the side and below.  If I close this second window and click to open this again using the same method... the window appears, but this time it is fine and without the scrollbars.  Can anyone advise what is happening here and how I could possibly resolve this?

Kind Regards

Craig

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 31 Oct 2013, 06:26 AM
Hi Craig,

Unfortunately I couldn't replicate the issue at my end. Here is the sample code snippet I tried.

ASPX:
<telerik:RadWindow ID="RadWindow1" runat="server" VisibleOnPageLoad="true">
    <ContentTemplate>
        <telerik:RadButton ID="RadButton1" runat="server" Text="Show Window" OnClick="RadButton1_Click">
        </telerik:RadButton>
    </ContentTemplate>
</telerik:RadWindow>
<telerik:RadWindow ID="RadWindow2" runat="server" NavigateUrl="CloseRadWindow.aspx"
    Height="300" Width="300">
</telerik:RadWindow>

C#:
protected void RadButton1_Click(object sender, EventArgs e)
{
    RadWindow2.VisibleOnPageLoad = true;
}

Please Provide your code if it doesn't help.

Thanks,
Shinu.
Tags
Window
Asked by
Craig
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or