Hi,
In Q2, I followed the tutorial http://www.telerik.com/support/kb/aspnet-ajax/editor/using-the-image-and-document-managers-outside-radeditor.aspx to use a standalone imageEditorManger dialog and it worked well.
Here is my client script to load the Editor:
Since Q3, the Telerik.Web.UI.EditorCommandEventArgs is undefined. I don't know when the registerclass is called for the EditorCommandEventArgs but the class is not present on the page, There is another way in Q3 to pass arguments to the dialog ?
Thanks and regards
Alain
In Q2, I followed the tutorial http://www.telerik.com/support/kb/aspnet-ajax/editor/using-the-image-and-document-managers-outside-radeditor.aspx to use a standalone imageEditorManger dialog and it worked well.
Here is my client script to load the Editor:
| function OpenImageEditor() |
| { |
| debugger; |
| var args = new Telerik.Web.UI.EditorCommandEventArgs("DocumentManager", null, document.createElement("a")); |
| args.CssClasses = []; |
| var img = $get('<%= Image1.ClientID %>'); |
| args.imageSrc = img.src; |
| debugger; |
| var dialog = $find('<%= DialogOpener1.ClientID %>'); |
| dialog.open('ImageEditor', args); |
| } |
Since Q3, the Telerik.Web.UI.EditorCommandEventArgs is undefined. I don't know when the registerclass is called for the EditorCommandEventArgs but the class is not present on the page, There is another way in Q3 to pass arguments to the dialog ?
Thanks and regards
Alain
