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

    Hi

    I get this error when I choose Customer->Login from the menu on my website at http://daresoft.no-ip.co.uk/the-dl-outlet.

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

    window.radopen=function(url,_1b){  
    var _1c=GetRadWindowManager();  
    return _1c.open(url,_1b);  
    }; 

    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">  
                                    <Windows> 
                                        <telerik:RadWindow ID="wLoginRegister" Height="300px" Width="610px" runat="server" VisibleStatusbar="false" VisibleTitlebar="true" Title="Login" OnClientClose="window.location.reload();">  
                                        </telerik:RadWindow> 
                                    </Windows> 
                                </telerik:RadWindowManager> 
     

    Any ideas ?

    Kind Regards

    David
  2. Georgi Tunev
    Admin
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top