Hi All,
Here is the scenerio - I have a project in VS2010, on one of the pages I open the RAD Window using the following method (which works as expected):
As mentioned the above code works perfect - the problem is I simply copied this code across to another project which is identical to the first one and everytime I hit the button to open the RAD Window I get this error:
'Error: Unable to get value of the property 'GetWindowByName': object is null or undefined'
I have searched and searched the forums to no avail - please provide any help asap if possible as this is pretty urgent.
Thanks in advance.
Here is the scenerio - I have a project in VS2010, on one of the pages I open the RAD Window using the following method (which works as expected):
Dim strScript As String = "<script language='javascript' type='text/javascript'>Sys.Application.add_load(ShowWindow);</script>"Page.ClientScript.RegisterStartupScript(Me.GetType, "ShowWindow", strScript)<script type="text/javascript"> function ShowWindow() { var manager = GetRadWindowManager(); var window1 = manager.GetWindowByName("QuoteWindow"); window1.show(); } </script>As mentioned the above code works perfect - the problem is I simply copied this code across to another project which is identical to the first one and everytime I hit the button to open the RAD Window I get this error:
'Error: Unable to get value of the property 'GetWindowByName': object is null or undefined'
I have searched and searched the forums to no avail - please provide any help asap if possible as this is pretty urgent.
Thanks in advance.