ImageEditor cropping does not work

2 posts, 0 answers
  1. maurice
    maurice avatar
    8 posts
    Member since:
    Aug 2010

    Posted 05 Sep 2012 Link to this post

    I am very new to using this rad Control and unfamilar with how it works. I am loading the image via a ajax call, as shown in one of the demos. After the image is loaded, When I select the crop icon, the dialog comes up but does not load properly, the textboxs are not editable and the dropdown list is not working. When I select the crop button to crop the image, it does not crop around the area that the tool was hovered over. 

     <telerik:RadImageEditor ID="ImageEditor" runat="server" ToolsFile="~/DataPages/Basic.xml" ToolsLoadPanelType="XmlHttpPanel"<br>                Width="820px" Height="383px" EnableResize="false" OnImageEditing="RadImageEditor1_ImageEditing" <br>                ><br>                <Tools><br>                    <telerik:ImageEditorToolGroup><br>                 <telerik:ImageEditorTool CommandName="Crop" /><br>        <telerik:ImageEditorToolSeparator /><br>        <telerik:ImageEditorTool CommandName="MakeGrayscale" ToolTip="Make Grayscale" ImageUrl="/img/bw.png" /><br>        <telerik:ImageEditorTool CommandName="RoundCorners" ToolTip="Round Corners" ImageUrl="/img/rounded.png" /><br>                        <br>                    </telerik:ImageEditorToolGroup><br>                </Tools><br>            </telerik:RadImageEditor>

    function LoadImageIntoEditor(photoID) {//Load Image
            $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest("LoadImage*" + photoID);
        }
  2. Vessy
    Admin
    Vessy avatar
    1389 posts

    Posted 10 Sep 2012 Link to this post

    Hi Maurice,

    The issue you are experiencing comes from the fact that you are using the RadImageEditor with ToolsLoadPanelType="XmlHttpPanel". This means that the ImageEditor will use RadXmlHttpPanel to load its dialogs and the XmlHttpPanel has some already known issues when used with RadScriptManager (and/or StyleSheetManager) in Firefox. You could find more detailed information on the subject in here: Known Issues help section.

    In order to workaround this problem,  my suggestion is to set ToolsLoadPanelType="AjaxPanel" of the ImageEditor.

    Kind regards,
    Veselina
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top