or
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
VisibleStatusbar
=
"false"
runat
=
"server"
Modal
=
"True"
Visible
=
"False"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"RadWindow1"
runat
=
"server"
style
=
"display:none;"
VisibleOnPageLoad
=
"true"
NavigateUrl
=
"PopUp_PDFParameters.aspx"
OnClientShow
=
"UseRadWindow"
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
I have found that when we set the RadWindow’s property (VisibleTitlebar="false”) the issues gets solved.
This is working fine in IE 6,7 and 8 .
Let me know what can be the issue.
<
script
language
=
"javascript"
type
=
"text/javascript"
>
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 as well)
return oWindow;
}
function opwn_window_2() {
var oBrowserWnd = GetRadWindow().BrowserWindow;
oBrowserWnd.radopen("http://www.google.com", "RadWindow2");
}
</
script
>
ASPX:
<
telerik:RadComboBox
ID
=
"cboxProductsShipped"
runat
=
"server"
HighlightTemplatedItems
=
"true"
EnableLoadOnDemand
=
"true"
Height
=
"190px"
Width
=
"350px"
>
<
ItemTemplate
>
<
li
class
=
"col1"
>
<%# DataBinder.Eval(Container.DataItem, "ProductName")%>
</
li
>
<
li
class
=
"col2"
>
<%# DataBinder.Eval(Container.DataItem, "Size")%>
</
li
>
<
li
class
=
"col3"
>
<%# DataBinder.Eval(Container.DataItem, "Quantity")%>
</
li
>
</
ItemTemplate
>
</
telerik:RadComboBox
>
<
asp:ObjectDataSource
ID
=
"ODSProducts"
runat
=
"server"
TypeName
=
"ProductBL"
DataObjectTypeName
=
"DAL.Products"
SelectMethod
=
"GetProductsByProductType"
>
</
asp:ObjectDataSource
>
C#
protected void ProductsGrid_ItemDataBound(object sender, GridItemEventArgs e)
{
try
{
if (e.Item is GridEditFormItem && e.Item.IsInEditMode)
{
GridEditFormItem editItem = (GridEditFormItem)e.Item;
RadComboBox cboxProducts = (RadComboBox)editItem.FindControl("cboxProductsShipped");
ODSProducts.SelectParameters.Add("producttype_id", ((Product)e.Item.DataItem).productType_id.ToString());
cboxProducts.DataSourceID = "ODSProducts";
cboxProducts.DataBind();
}
}
catch (Exception ex)
{
throw;
}
}
<
CommandItemTemplate
>
<
a
href
=
"#"
onclick
=
"return ShowMessageScheduleEdit('<%# eval("
Message_ID") %>');">
<
img
src
=
"../App_Themes/Images/add_24.png"
border
=
"0"
vspace
=
"2"
hspace
=
"2"
/>Add new Location / Schedule</
a
>
</
CommandItemTemplate
>
JAVASCRIPT
function ShowMessageScheduleEdit(Message_ID, MessageSchedule_ID) {
var oWnd = radopen("MessageScheduleEdit.aspx?Message_ID=" + Message_ID + "&MessageSchedule_ID=" + MessageSchedule_ID, "MessageScheduleEdit");
return false;
}