Hi ,
I am calling rad window form code ebehind using following code.
When I Click Show Report button it opens report and when I click close button it closes report perfectly
but when I open same report second time and try to close the report I need to click the close 2-3 times .
Please suggest for the same.
I am calling rad window form code ebehind using following code.
<
telerik:RadWindowManager
ID
=
"RadWindowManager2"
runat
=
"server"
VisibleOnPageLoad
=
"false"
KeepInScreenBounds
=
"true"
Modal
=
"true"
VisibleStatusbar
=
"false"
ShowContentDuringLoad
=
"false"
>
<
Windows
>
</
Windows
>
</
telerik:RadWindowManager
>
<
asp:Button
ID
=
"btnReport"
runat
=
"server"
Text
=
"Show Report"
OnClick
=
"btnReport_OnClick"
/>
protected void btnReport_OnClick(object sender, EventArgs e)
{
Telerik.Web.UI.RadWindow rw = new Telerik.Web.UI.RadWindow();
rw.ID = "test";
rw.Width = 1135;
rw.Height = 671;
rw.ShowContentDuringLoad = false;
rw.VisibleStatusbar = false;
rw.KeepInScreenBounds = true;
rw.VisibleOnPageLoad = true;
rw.Modal = true;
rw.AutoSize = false;
rw.Behaviors = WindowBehaviors.Close;
rw.NavigateUrl = "~/Report.aspx?id=1042";
rw.ReloadOnShow = false;
RadWindowManager2.Windows.Add(rw);
}
When I Click Show Report button it opens report and when I click close button it closes report perfectly
but when I open same report second time and try to close the report I need to click the close 2-3 times .
Please suggest for the same.