Hello,
I am currently getting a strange error. Throughout our application we are using the GetRadwindow Function to find the currently opened RadWindow, then closing it after a button submit.
When It calls this function I am getting the following error:
Unable to get value of the property 'offsetWidth': object is null
I am stumped to what could be causing this, because we weren't getting this error before. We recently updated our telerik controls, so maybe this as something to do with it? Any help would be appreciated.
Thanks,
Ashlee
I am currently getting a strange error. Throughout our application we are using the GetRadwindow Function to find the currently opened RadWindow, then closing it after a button submit.
function
GetRadWindow() {
var
oWindow =
null
;
if
(window.radWindow) {
oWindow = window.radWindow;
}
else
if
(window.frameElement.radWindow) {
oWindow = window.frameElement.radWindow;
}
return
oWindow;
}
function
returnToParent(ID) {
//create the argument that will be returned to the parent page
var
oArg =
new
Object();
oArg.ID = ID;
//get a reference to the current RadWindow
var
oWnd = GetRadWindow();
oWnd.Close();
}
When It calls this function I am getting the following error:
Unable to get value of the property 'offsetWidth': object is null
I am stumped to what could be causing this, because we weren't getting this error before. We recently updated our telerik controls, so maybe this as something to do with it? Any help would be appreciated.
Thanks,
Ashlee