asp Radwindow demo fail

2 posts, 0 answers
  1. Mario
    Mario avatar
    75 posts
    Member since:
    Jun 2009

    Posted 28 Jul 2009 Link to this post

    Here i found a missing ";" after contentWindow as follows:

    // Get a reference to the first RadWindow's content
    var contentWin = dialog1.get_contentFrame().contentWindow


    its in the code example C# Dialog2.aspx in the javascript block in function returnValue()


    or anything else is wrong, my compiler tells me that get_contentFrame().contentWindow is null or not an object...

    with contentWindow (); he tells me that get_contentFrame() is null or not an obejct.

    sure that its correct without ; or (); ?

     cheers uspec

  2. Fiko
    Fiko avatar
    1406 posts

    Posted 30 Jul 2009 Link to this post

    Hi Mario,

    JavaScript does not require the statements to end with ';' and in your case this cannot cause the "null" reference error. At this point I cannot tell you what my cause the issue on your side and I need to examine your exact setup. Please, paste the code that you use in the pages - parent page, content page (that is opened inside the RadWindow). It will be best if you open a new support thread and send us a full runnable project that reproduces the issue. I will debug it and do my best to provide a working solution as soon as possible.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top