I need to change a function in our company software that uses Radwindow so it uses jQuery ui dilog instead (for reasons beyond me).
however i get this error Uncaught TypeError: Cannot set property 'control' of undefined
function
ShowPopupByWindow(_type, _targetControl, _radWindow) {
var
popupURL =
'finder.aspx?action='
+ _type;
// This is how the Radopen is working right now
//var oWnd = window.radopen(popupURL, _radWindow);
// This is what I want to implement
selector =
"#"
+ _targetControl;
jQuery(selector).dialog({ modal :
true
, open:
function
() {
$(
this
).load(popupURL);
}
});
}
however i get this error Uncaught TypeError: Cannot set property 'control' of undefined