Hi All,
I am trying to implement within an Image Viewing application which has a RadWindow which opens up on the click of a button. The idea is that the user can copy information from the image into some fields on the Window.
The main window is a div which contains two other divs - a left "sidebar" panel and a right "viewer" panel
The sidebar contains navigation buttons and links and the viewer panel contains a java applet which handles the image viewing.
During page load, the user controls are added to the placeholders.
The ascx "vwHardCopy" is
the Window is shown but in FireFox, it is behind the Viewer and in IE8 is doesnt get shown at all and seems to do a postback. I havent tested it with IE9 yet.
Can anyone point me in the right direction to try to debug this or see what is going on.
Thanks for looking
Roger
I am trying to implement within an Image Viewing application which has a RadWindow which opens up on the click of a button. The idea is that the user can copy information from the image into some fields on the Window.
The main window is a div which contains two other divs - a left "sidebar" panel and a right "viewer" panel
<
div
id
=
"container"
>
<
asp:Panel
ID
=
"sidebar"
runat
=
"server"
>
<
asp:PlaceHolder
ID
=
"phSideBar"
runat
=
"server"
></
asp:PlaceHolder
>
</
asp:Panel
>
<
asp:Panel
ID
=
"viewer"
runat
=
"server"
>
<
asp:PlaceHolder
ID
=
"phViewer"
runat
=
"server"
></
asp:PlaceHolder
>
</
asp:Panel
>
</
div
>
The sidebar contains navigation buttons and links and the viewer panel contains a java applet which handles the image viewing.
During page load, the user controls are added to the placeholders.
protected
void
Page_Load(
object
sender, EventArgs e)
{
System.Web.UI.Control contHardCopyOrdering = (System.Web.UI.Control)LoadControl(
"vwHardCopy.ascx"
);
sidebar.Controls.Add(contHardCopyOrdering);
// Add Order button Control to SideBar phSideBar
ViewerServerControl imgViewer =
new
ViewerServerControl();
viewer.Controls.Add(imgViewer);
// Add viewer to Placeholder
}
The ascx "vwHardCopy" is
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="vwHardCopy.ascx.cs"
Inherits="OriginsNetwork.ImageViewer.vwHardCopy" %>
<%@ Register TagPrefix="telerik" Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" %>
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
ShowContentDuringLoad
=
"false"
VisibleStatusbar
=
"false"
ReloadOnShow
=
"true"
runat
=
"server"
EnableShadow
=
"true"
Width
=
"1500px"
Height
=
"500px"
>
<
Windows
>
<
telerik:RadWindow
runat
=
"server"
ID
=
"RadWindow_NavigateUrl"
NavigateUrl
=
"Dialog.aspx"
Modal
=
"false"
Width
=
"300px"
Height
=
"250px"
Left
=
"0px"
Title
=
"Title of Window"
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
<
div
id
=
"hardcopy"
style
=
"margin-top: 30px;"
>
<
asp:ImageButton
ID
=
"btnDialog"
ImageUrl
=
"/images/buttons/order-original-red.gif"
OnClientClick
=
"openWinNavigateUrl(); return false;"
runat
=
"server"
></
asp:ImageButton
>
<
script
type
=
"text/javascript"
>
function openWinNavigateUrl() {
$find("<%=RadWindow_NavigateUrl.ClientID %>").show();
}
</
script
>
</
div
>
the Window is shown but in FireFox, it is behind the Viewer and in IE8 is doesnt get shown at all and seems to do a postback. I havent tested it with IE9 yet.
Can anyone point me in the right direction to try to debug this or see what is going on.
Thanks for looking
Roger