Hi,
I have a web page which has Dll control and is placed in a Object Tag. When I try to open a new window using the rad window the new window opens. When I try to move the mouse in and out of the modal window the screen flickers. When i try to move the modal window itself then it hides behind the control (dll) on the parent page and when i release the modal window it comes in the front. Hope I am able to convey my problem.
Page 1
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Untitled Page</title>
</head>
<body id="formViewerBody" style="background-color:#E5E8F1;">
<script language="javascript" type="text/javascript">
function openWin()
{
var oWnd = radopen("FormsEmail.aspx", "formsEmailRadWindow");
oWnd.SetSize(480,450);
oWnd.Center();
}
function GetRadWindow() {
var oWindow = null;
if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz az well)
return oWindow;
}
function Close()
{
GetRadWindow().Close();
}
</script>
<form id="form1" runat="server">
<asp:ScriptManager ID="scriptManager" runat="server" AsyncPostBackTimeout="5000">
<Scripts>
<asp:ScriptReference Path="../includes/JavaScript/AJAXClientEvents.js" />
</Scripts>
</asp:ScriptManager>
<div >
<input type="button" id="Button1" value="Email" onclick="openWin()" />
<input type="button" id="Button2" value="Close" onclick="Close()" />
</div>
<div style="text-align:center; background-color:#C0C0C0;">
<object classid="../../ControlX.dll#ControlX.ControlNameSpace"
id="ControlViewer" width="950px" height="460px">
</object>
</div>
<rad:RadWindowManager ID="RadWindowManager1" ShowContentDuringLoad="true" VisibleStatusbar="false"
ReloadOnShow="true" runat="server" Modal="true" KeepInScreenBounds="true"
VisibleTitlebar="false" BorderStyle="Solid" BorderColor="black" BorderWidth="1px"
>
<Windows>
<rad:RadWindow ID="formsEmailRadWindow" Modal="true" NavigateUrl="FormsEmail.aspx"
runat="server" BorderStyle="Solid" BorderColor="black" BorderWidth="1px"
>
</rad:RadWindow>
</Windows>
</rad:RadWindowManager>
</form>
</body>
</html>
Page 2.
When the Email Page opens as a modal, it flickers when i try o move the mouse in and out of the modal page. When i try to move the modal window it goes behind the dll control and when i release it , the email page (which is the modal window) comes to the front.
Please guide.