This is a migrated thread and some comments may be shown as answers.

Compatibility issue in RadWindow

6 Answers 95 Views
Window
This is a migrated thread and some comments may be shown as answers.
Hemamalini
Top achievements
Rank 1
Hemamalini asked on 02 Dec 2010, 04:45 AM
Hi,

   I have used Radwindow in my project which returns location value that is selected in that window.. I have used javascript for returning location value.. The Problem is it works fine in IE8 browser, but the value is not getting returned in Safari..
<telerik:RadWindowManager ID="RadWindowManager2" OnClientShow="" runat="server" OnClientClose=""
       ReloadOnShow="false">
       <Windows>
           <telerik:RadWindow ID="radWindowLocationPopup" OpenerElementID="" OffsetElementID=""
               ClientCallBackFunction="CallBackFunctionService" Behavior="Close" VisibleTitlebar="false"
               Modal="true" Width="578px" runat="server" Height="450px" NavigateUrl=" " VisibleStatusbar="false">
           </telerik:RadWindow>
       </Windows>
   </telerik:RadWindowManager>

and the code in javascript are,
function OpenRadWindowLocaltionPopup(externalScheduling) {
    var Url = "./Locationpopup.aspx?EnableScheduling=" + externalScheduling;
    var oWnd = radopen(Url, "radWindowLocationPopup");
    oWnd.SetUrl(oWnd.GetUrl());
    return false;
}
function CallBackFunctionService(radWindow, returnvalue) {
    try {
        if (returnvalue != "") {
            var textBoxLocation = document.getElementById("ctl00_ContentPlaceHolder1_textBoxExternalLocation");
            var hiddenLocationID = document.getElementById("ctl00_ContentPlaceHolder1_hiddenFieldLocationId");
            var hiddenLocationName = document.getElementById("ctl00_ContentPlaceHolder1_hiddenLocationName");
            var rtnValue = returnvalue.split("~");
            hiddenLocationID.innerText = rtnValue[1];
            textBoxLocation.value = rtnValue[0];
            hiddenLocationName.value = rtnValue[0];
        }
        else {
            document.getElementById("ctl00_ContentPlaceHolder1_textBoxExternalLocation").value = "";
        }
        CheckExternalSchedulingEnable();
    }
    catch (err) {
    }
    return false;
}

Do i need to do any change in javascript to make it work efficiently in safari.. Please guide me..

Thanks,
Hema.

6 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 02 Dec 2010, 03:49 PM
Hello Hema,

What is the exact version of the controls that you are using? The ClientCallBackFunction function property was deprecated a long time ago and it would throw an exception if used with recent versions of RadWindow.


Greetings,
Georgi Tunev
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Hemamalini
Top achievements
Rank 1
answered on 03 Dec 2010, 02:09 PM
Hi Georgi Tunev ,
 
                         The Runtime version specifed is "v2.0.50727"... But ClientCallBackFunction works fine in IE8.. I have a Problem only with Safari.. Please guide to find out the solution..


Thanks,
Hema.
0
Georgi Tunev
Telerik team
answered on 06 Dec 2010, 10:35 AM
Hi Hema,

There is no such version for RadControls for ASP.NET. The version format is (for example) 2010.3 1109.xx which means Q3 2010, released on 11th of September and xx stands for the .NET version of the control. To see the version, just right-click on Telerik.Web.UI.dll in your project's bin folder and select properties / Details.


Kind regards,
Georgi Tunev
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Hemamalini
Top achievements
Rank 1
answered on 07 Dec 2010, 05:00 AM
Hi Georgi Tunev ,

                        Thanks for ur reply.. Version specified is 2009.2.701.20..


Thanks,
Hema.
0
Hemamalini
Top achievements
Rank 1
answered on 10 Dec 2010, 08:43 AM
Hi,

   Is there any other function or different way can be used to return a pop up value specified in the version 2009.2.701.20.. Please guide me..


Thanks,
Hema. 
0
Georgi Tunev
Telerik team
answered on 10 Dec 2010, 10:10 AM
Hi Hema,

Thank you for the additional details. I ran your code with the product version that you are using, but still, I was not able to reproduce the problem - as you can see from the attached movie, the alerts are fired as expected.

For convenience, I attached the test case that I built based on your code. Please rework it so the problem can be reproduced and send it back in a support ticket so I can investigate further.

Kind regards,
Georgi Tunev
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Window
Asked by
Hemamalini
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Hemamalini
Top achievements
Rank 1
Share this question
or