This is a migrated thread and some comments may be shown as answers.

[Solved] How to find a reference to the RadWindowManager on the front end ?

1 Answer 184 Views
Window
This is a migrated thread and some comments may be shown as answers.
Peter From LA
Top achievements
Rank 1
Peter From LA asked on 04 Jan 2008, 12:27 AM
Hi All,

I have been using RadWindows for awhile, but recently decided to investigate the Prometheus version. So, I installed the tester version and while in the process of converting my old code to the new one I have a hard time getting a reference to the RadWindowManager. My solution compiles correctly in VS2008, but my front end reference to the manager is either 'null' if I use this:

var oManager = $find("<%=RadWindowManager1.ClientID%>");

or it is equal to [object][object] if I use this:

var oManager = <%=RadWindowManager1.ClientID%>;

, BUT upon further investigation this is actually a reference to the 'DIV' that represents the "<telerik:RadWindowManager"on the front end...

What am I missing ???

1 Answer, 1 is accepted

Sort by
0
Peter From LA
Top achievements
Rank 1
answered on 04 Jan 2008, 01:01 AM

Sorry for this post...

I was looking for the manager on init, and did not make sure everything was loaded...

Once I started using this:

Sys.Application.add_load(function(){isReady = true;});

... everithing started working...  :)

Tags
Window
Asked by
Peter From LA
Top achievements
Rank 1
Answers by
Peter From LA
Top achievements
Rank 1
Share this question
or