Hi,
Currently I working in a scenario where RAD WINDOW is present in Parent.aspx and we have child.aspx in IFRAME of Parent.aspx....
I have provided a link in child.aspx which opens the radwindow of parent.aspx.
Problem: Now open the radwindow in parent clicking on link in child. It opens fine. Close the window. Again click the link. Now rad window is distorted. It's unable to retain the attributes like Height, Width, Behaviour etc... set in .aspx .
i.e second time when you open rad window it's a problem.
Code is as follows:
Parent.aspx
<rad:RadScriptManager ID="RadScriptManager1" runat="server" OutputCompression="AutoDetect" >
</rad:RadScriptManager>
<rad:RadWindowManager Skin="Vista" DestroyOnClose="true" id="Singleton" runat="server">
<windows>
<rad:RadWindow Runat="server" Modal="true" Height="450" Width="850" Visible="true" VisibleStatusbar="false" Title="SumTotal" EnableEmbeddedSkins="false" Skin="Vista" VisibleTitlebar ="true" Behaviors="Close" Behavior="Close" ID="DialogWindow"></rad:RadWindow>
</windows>
</rad:RadWindowManager>
child.aspx
<div id="Div1" runat="server">
<script type="text/javascript">
function openWindow()
{
var oWindow = null;
var strURL = "LMS_User_ExceptionDetail.aspx?EmpID=5195&EmpName=Emily%20Arroyo&ViewDataMode=0";
oWindow = window.parent.radopen(strURL, "DialogWindow");
}
</script>
</div>
<a href='javascript:openWindow();'>test</a>
Currently I working in a scenario where RAD WINDOW is present in Parent.aspx and we have child.aspx in IFRAME of Parent.aspx....
I have provided a link in child.aspx which opens the radwindow of parent.aspx.
Problem: Now open the radwindow in parent clicking on link in child. It opens fine. Close the window. Again click the link. Now rad window is distorted. It's unable to retain the attributes like Height, Width, Behaviour etc... set in .aspx .
i.e second time when you open rad window it's a problem.
Code is as follows:
Parent.aspx
<rad:RadScriptManager ID="RadScriptManager1" runat="server" OutputCompression="AutoDetect" >
</rad:RadScriptManager>
<rad:RadWindowManager Skin="Vista" DestroyOnClose="true" id="Singleton" runat="server">
<windows>
<rad:RadWindow Runat="server" Modal="true" Height="450" Width="850" Visible="true" VisibleStatusbar="false" Title="SumTotal" EnableEmbeddedSkins="false" Skin="Vista" VisibleTitlebar ="true" Behaviors="Close" Behavior="Close" ID="DialogWindow"></rad:RadWindow>
</windows>
</rad:RadWindowManager>
child.aspx
<div id="Div1" runat="server">
<script type="text/javascript">
function openWindow()
{
var oWindow = null;
var strURL = "LMS_User_ExceptionDetail.aspx?EmpID=5195&EmpName=Emily%20Arroyo&ViewDataMode=0";
oWindow = window.parent.radopen(strURL, "DialogWindow");
}
</script>
</div>
<a href='javascript:openWindow();'>test</a>