Andrzej Niedzialek
Top achievements
Rank 1
Andrzej Niedzialek
asked on 30 May 2008, 01:38 PM
How can I create a custom dialog for "RadEditor for MOSS"? Is it possible?
3 Answers, 1 is accepted
0
Hi Andrzej,
Please review the following KB article that shows how to achieve the desired behavior:
http://www.telerik.com/support/kb/article/b454K-baab-b454T-a-b454c-cbetemdget.aspx
I hope this helps.
Sincerely,
George
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Please review the following KB article that shows how to achieve the desired behavior:
http://www.telerik.com/support/kb/article/b454K-baab-b454T-a-b454c-cbetemdget.aspx
I hope this helps.
Sincerely,
George
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Andrzej Niedzialek
Top achievements
Rank 1
answered on 04 Jun 2008, 07:24 AM
Hi
It works fine.
Now the question is how to use aspx's to build this custom dialogs? Where I have to put dll's?
It works fine.
Now the question is how to use aspx's to build this custom dialogs? Where I have to put dll's?
0
Hi Andrzej,
Just replace the html with aspx. For example see the following online demo:
http://www.telerik.com/demos/aspnet/Editor/Examples/CustomDialogs/DefaultCS.aspx
Bellow is the code from the example:
I hope this helps.
Sincerely,
George
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Just replace the html with aspx. For example see the following online demo:
http://www.telerik.com/demos/aspnet/Editor/Examples/CustomDialogs/DefaultCS.aspx
Bellow is the code from the example:
RadEditorCommandList["CustomImageManagement"] = |
function CustomImageManagementCommand(commandName, editor, oTool) |
{ |
RadEditor1ClientObject = editor; |
editor.ShowDialog( |
"ImagesDialogCS.aspx" |
, null//argument |
, 470 |
, 500 |
, InsertCustomImage |
, null |
, "Custom Dialog"); |
}; |
function InsertCustomImage(returnValue) |
{ |
if (returnValue) |
{ |
RadEditor1ClientObject.PasteHtml(returnValue); |
} |
} |
I hope this helps.
Sincerely,
George
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center