RadEditor - call Editor Dialogs externally?

5 posts, 0 answers
  1. jorex
    jorex avatar
    16 posts
    Member since:
    Jan 2009

    Posted 24 Mar 2009 Link to this post

    Hi,

    1. Would it be possible to call RadEditor Dialogs externally from a button object for exmaple? let's say Image Map Editor?

    2. If it's impossible to call Image Map Editor externally, how would you set the "UploadPaths" and "ViewPaths"?

    3. If it's impossible to call Image Map Editor externally, how to return data from the dialog to an object just like returning data to RadEditor.Content as "html" ?


    Thank You!

    Rex
  2. Axe
    Axe avatar
    88 posts
    Member since:
    Feb 2007

    Posted 24 Mar 2009 Link to this post

    Yes you can.
    Here are a few links:
    http://www.telerik.com/community/code-library/aspnet-ajax/editor/dialog-opener-independent-files-manager.aspx
    http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/file-explorer-required.aspx
    http://www.telerik.com/community/forums/aspnet-ajax/editor/edit-image-directly-in-image-editor.aspx
    http://www.telerik.com/community/forums/aspnet-ajax/editor/customizing-image-manager-dialogue-outside-of-radeditor.aspx

    Keep in mind that Telerik have changed their client api's for this in the latest release. Some of the property names have changed. You will find most things you want in the eventArgs of the ClientCallBackFunction. You may have to set a break point at that function to find the properties you need. Unfortunately I'm having problems with Visual Studio not hitting javascript breakpoints at the moment so I can't look for you. If you have any trouble I can leave some code I just need to dig it up.

    Telerik, are you aware that everytime you click on a file in the stand alone ImageManager a javascript error is thrown :Microsoft JScript runtime error: 'this._items.length' is null or not an object
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. jorex
    jorex avatar
    16 posts
    Member since:
    Jan 2009

    Posted 24 Mar 2009 Link to this post

    Thank You Axe! I'll look into the links you gave me.. :)
  5. jorex
    jorex avatar
    16 posts
    Member since:
    Jan 2009

    Posted 25 Mar 2009 Link to this post

    By the way,  "<telerik:dialogopener>"  does'nt seem to work for me... is that part of the telerik classes or properties? does it show in the intelli-sense? am i missing some references?

    Also, i'm getting a 'null' error on javascript... another thing though is i want to return the whole 'html' data from the Image Map Editor, how do i achieve that?

    Thank You All!

     

  6. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 26 Mar 2009 Link to this post

    Hi Jorex,

    The Image Map tools is not designed to function as a standalone control and it cannot be used without RadEditor because its code is tightly integrated with the editor. Currently only the file browser dialogs could be used as standalone dialogs: http://www.telerik.com/support/kb/aspnet-ajax/editor/using-the-image-and-document-managers-outside-radeditor.aspx

    Best regards,
    Rumen
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017