Hello, I am using VS.net 2010, .Net 4, telerik version 2013.2.611.40, and I am having trouble to open up RadWindow in FF, Chrome and even IE9 (IE8 is working), during debugging, related code is in below:
parent page (I think '
rad window page (I think line 'oWnd.close(oArg);' didn't work as it didn't close rad window in IE9 (in FireFox & Chrome radwindow didn't even popup) ):
Many thanks!!!
parent page (I think '
var oWnd = radopen("Categories.aspx", "RadWindow1");' didn't work as it didn't popup the rad window (Firefox & Chrome))):function openWin() { var oWnd = radopen("Categories.aspx", "RadWindow1"); } function OnClientClose(oWnd, args) { //get the transferred arguments var arg = args.get_argument(); if (arg) { //var cityName = arg.cityName; var selCategory = arg.selCategory; var selCategoryId = arg.selCategoryId; //$get("order").innerHTML = "You chose to fly to on <strong>" + seldate + "</strong>"; document.getElementById("<%=selectCategory.ClientID%>").value = selCategory; document.getElementById("<%=selectCategoryId.ClientID%>").value = selCategoryId; } }rad window page (I think line 'oWnd.close(oArg);' didn't work as it didn't close rad window in IE9 (in FireFox & Chrome radwindow didn't even popup) ):
function returnToParentDC(sId, sectionTitle) { //create the argument that will be returned to the parent page var oArg = new Object(); oArg.selCategory = sectionTitle; oArg.selCategoryId = sId; //get a reference to the current RadWindow var oWnd = GetRadWindow(); //Close the RadWindow and send the argument to the parent page if (oArg.selCategory && oArg.selCategoryId) { alert("test before closing"); //This line is actually executed oWnd.close(oArg); } else { alert("Please fill both fields"); } }Many thanks!!!