This is a migrated thread and some comments may be shown as answers.

Custom button for serverside asset picker?

1 Answer 75 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
MagnusK
Top achievements
Rank 1
MagnusK asked on 07 Nov 2007, 08:34 AM
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

1 Answer, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 07 Nov 2007, 08:41 AM
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
Tags
WebParts for SharePoint
Asked by
MagnusK
Top achievements
Rank 1
Answers by
Lini
Telerik team
Share this question
or