function openRadWindow(wndTitle, sParentID)
{
var oWnd = parent.window.radopen('Default.aspx?ID=' + sParentID + '&Title=' + wndTitle, null);
oWnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.Reload + Telerik.Web.UI.WindowBehaviors.Close);
oWnd.SetSize(360, 400);
oWnd.MoveTo(300, 90);
return false;
}
I am using the above javascript code for opening and setting the behaviour of radwindow.
I am able to get the object of Telerik.Web.UI although Telerik.Web.UI.WindowBehaviors comes out to be undefined. I have registered the Teleric.Web.UI dll in my application and is able to use successfully the other radControls.
{
var oWnd = parent.window.radopen('Default.aspx?ID=' + sParentID + '&Title=' + wndTitle, null);
oWnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.Reload + Telerik.Web.UI.WindowBehaviors.Close);
oWnd.SetSize(360, 400);
oWnd.MoveTo(300, 90);
return false;
}
I am using the above javascript code for opening and setting the behaviour of radwindow.
I am able to get the object of Telerik.Web.UI although Telerik.Web.UI.WindowBehaviors comes out to be undefined. I have registered the Teleric.Web.UI dll in my application and is able to use successfully the other radControls.