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

[Solved] Standalone ImageEditorManager does not work since Q3

2 Answers 89 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Alain Froment
Top achievements
Rank 1
Alain Froment asked on 06 Nov 2009, 07:36 PM
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:


    function OpenImageEditor()  
    {  
      debugger;  
        var args = new Telerik.Web.UI.EditorCommandEventArgs("DocumentManager"nulldocument.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

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 11 Nov 2009, 04:38 PM
Hi Alain,

Thank you for reporting this problem.

We will update the KB article tomorrow and provide a solution for this issue too.

Kind regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Rumen
Telerik team
answered on 12 Nov 2009, 10:45 AM
Hi Alain,

The problem was due to optimization in the RadControls for ASP.NET AJAX code. It will be fixed in the next "latest internal build" that will be released next week. There is no need to modify the code provided in the KB article.

Please, excuse us for the temporary inconvenience.

All the best,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Editor
Asked by
Alain Froment
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or