Custom button for serverside asset picker?

2 posts, 0 answers
  1. MagnusK
    MagnusK avatar
    1 posts
    Member since:
    Sep 2006

    Posted 07 Nov 2007 Link to this post

    Hi!

    I'm building a server-side asset picker function that will be used from a Rad editor in a MOSS Page layout. We're running the rad editor for MOSS version 4.4.0.0.

    The function is made available by clicking a custom button in the rad editor toolbar, which will pop up the asset picker in a new window. The user then selects the desired asset, the picker window closes and the asset is put into the text at the cursor's current position. The asset will be a custom made reusable HTML object.

    I've looked at the API examples for adding custom buttons but can't really find information on how to connect a rad toolbar button to a MOSS application page that will list the available assets? I'm also interested in how I can feed the HTML object back into the rad editor? Could you help me on the way?

    Regards
    Magnus
  2. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 07 Nov 2007 Link to this post

    Hello Magnus,

    Take a look at the \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.4.1.0__1f131a624888eeed\RadControls\Editor\Scripts\7_2_1\MOSSEditorTools.js file on your server. It contains the code for the MOSS asset pickers our editor uses. You can also add your own custom tools to this file.

    Kind regards,
    Lini
    the Telerik team

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

Back to Top