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

Custom Dialog Which Mimics And Builds On Document Manager

1 Answer 51 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Phil
Top achievements
Rank 1
Phil asked on 10 Aug 2010, 12:27 PM
Hi

I have a requirement to implement 2 custom dialogs in the RadEditor.  I have already implemented a custom provider for the Image/Media/Flash/Document managers which works well.  These 2 new additional dialogs are to work in a very similar way and have the same "look and feel".

The first dialog is the more basic of the 2 custom dialogs.  It should function much like the Document Manager with a treeview on left (driven using a custom provider for folders/items), items for user to select in middle and just an insert/cancel button on right (i.e. no preview or custom properties).

The second dialog is identical to the above with the exception that when the user clicks items in the middle column the right column needs to load a custom form - the structure of which will change depending on the item which was clicked.  Im assuming that this may be possible with some sort of Ajax callback which uses server side code to query my database and decide on which custom fields my form requires ?

I have attached an image which shows how dialog 2 is to work (based on the Document Manager).  I have looked at the online demo which shows how to create completely custom dialogs but im struggling with :
(a) how to implement the File Manger inside my custom dialog so it looks like one of the out of the box Telerik managers (e.g. doc manager)
(b) how to implement the item click/custom form scenario which forms part of my 2nd custom dialog above.

Do you have any suggestions/code samples which you could point me at to help ?

Thanks

Steve

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 13 Aug 2010, 12:09 PM
Hello Stephen,

Review the following online help article: http://www.telerik.com/help/aspnet-ajax/customizingimagedialog.html

Since you have found the demo of how to create custom dialogs I suggest you to review the code of the Built-in editor's dialogs, which you can find in the EditorDialogs folder, which comes with the control's installation.
Review the following files: FileBrowser.ascx, DocumentManager.ascx, LinkManager.ascx


Regards,
Stanimir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Editor
Asked by
Phil
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or