Microsoft JScript runtime error: 'undefined' is null or not an object

2 posts, 0 answers
  1. hkdave95
    hkdave95 avatar
    245 posts
    Member since:
    Nov 2006

    Posted 14 Oct 2007 Link to this post


    I get this error when I choose Customer->Login from the menu on my website at

    IT fails on the "return" line ... it seems that GetRadWindowManager cannot find the RadWindowManager.

    var _1c=GetRadWindowManager();  

    The call to load the window is :
                    Call Telerik.Web.UI.RadScriptManager.RegisterClientScriptBlock(Me.Page, Me.Page.GetType, "LoginWindowScript", "window.setTimeout(function(){ radopen('pages/Login.aspx', 'wLoginRegister'); }, 0);" & vbCrLf, True)  

    The WindowManager is ...
                                <telerik:RadWindowManager ID="rwmHeader" runat="server" InitialBehaviors="Maximize" Animation="Fade" Behaviors="Maximize, Close" Skin="Default" Modal="true">  
                                        <telerik:RadWindow ID="wLoginRegister" Height="300px" Width="610px" runat="server" VisibleStatusbar="false" VisibleTitlebar="true" Title="Login" OnClientClose="window.location.reload();">  

    Any ideas ?

    Kind Regards

  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 15 Oct 2007 Link to this post

    Hi David,

    Try increasing the timeout in your call and see how your logic will behave. In addition, I suggest to use the ASP.NET AJAX way for finding the controls - $find().

    If you still experience this problem, please try isolating it in a separate project and send it to us for investigation.

    All the best,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top