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
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
4 Answers, 1 is accepted
0
Axe
Top achievements
Rank 1
answered on 24 Mar 2009, 12:40 PM
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
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
0
jorex
Top achievements
Rank 1
answered on 25 Mar 2009, 02:25 AM
Thank You Axe! I'll look into the links you gave me.. :)
0
jorex
Top achievements
Rank 1
answered on 25 Mar 2009, 05:28 AM
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!
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!
0
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.
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.