getRadWindow() return null

2 posts, 0 answers
  1. Joe
    Joe avatar
    1 posts
    Member since:
    Apr 2009

    Posted 01 Apr 2009 Link to this post

    I am using RadEditor for MOSS to launch a dialog window:


    var dialogInput=new Object();

    dialogInput.editor = editor;


    var callback=function(dialogOutput)





    var dialogUrl= "/mylink.aspx";


    editor.ShowDialog( dialogUrl, dialogInput,400,200,callback,{cmdName : editor.Localization[

    "MyCommand"]}, "My Title");


    For some reason, the getRadWindow() function in /mylink.aspx always return null:




    function getRadWindow()



        if (window.radWindow)



            return window.radWindow;



    (window.frameElement && window.frameElement.radWindow)





            return window.frameElement.radWindow;





    I can't think of any reason why it would not return radWindow, can you help me out?




  2. Stanimir
    Stanimir avatar
    1654 posts

    Posted 03 Apr 2009 Link to this post

    Hi Joe,

    In order to reproduce the problem on our side, we will need some additional information.
    Could you please open a support ticket and provide us with the content of mylink.aspx? Also we need to know exactly when are you calling the getRadWindow method?

    Thank you.

    Sincerely yours,
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top