Hello
I have been tasked with upgrading all the telerik controls on our project to the new prometheus ones..
So far it is mostly going smoothly but I am having problems with the rad windows.
Everywhere I have "GetRadWindowsManager()" it has stopped working. This is always returning null.
I have read the post here,
http://www.telerik.com/community/forums/thread/b311D-beacgk.aspx
that is having a similar problem, and have tried adding Sys.Application.add_load(
around some of the calls to the window I am trying to open, but it still doesn't work.
One example of where it is used..
The open window JS function:
This method is used on numerous pages throughout our project so alot of things are now broken..
Please can you advise how I initilize the GetRadWindowManager() function so it will work..
Thanks
Bex
I have been tasked with upgrading all the telerik controls on our project to the new prometheus ones..
So far it is mostly going smoothly but I am having problems with the rad windows.
Everywhere I have "GetRadWindowsManager()" it has stopped working. This is always returning null.
I have read the post here,
http://www.telerik.com/community/forums/thread/b311D-beacgk.aspx
that is having a similar problem, and have tried adding Sys.Application.add_load(
around some of the calls to the window I am trying to open, but it still doesn't work.
One example of where it is used..
The open window JS function:
function openWindow(ID){
var manager = GetRadWindowManager();
var win = manager.GetWindowByName('OrderPreview');
win.SetUrl("/orderDetailPreview.aspx?ID=" + ID, "Order Details");
win.Show();
}
<Telerik:GridTemplateColumn>
<ItemTemplate>
<a href="javascript:openWindow('<%#DataBinder.Eval(Container.DataItem,"OrderDetailId") %>')">view</a>
</ItemTemplate>
</Telerik:GridTemplateColumn>
This method is used on numerous pages throughout our project so alot of things are now broken..
Please can you advise how I initilize the GetRadWindowManager() function so it will work..
Thanks
Bex