Multiple image editors and open dialog OnClientLoad

4 posts, 0 answers
  1. Marcel
    Marcel avatar
    1 posts
    Member since:
    Jul 2012

    Posted 08 May 2012 Link to this post

    Hi There,

    I have multiple image editors loaded on a page. All have a OnClientLoad function which does a executeCommand('crop').
    The dialogs are opened, but only the last image editor is showing the crop dialog. The other dialogs seem to be hanging and can't be opened/closed anymore.

    Many thanks in advance for your support!

  2. Dobromir
    Dobromir avatar
    1633 posts

    Posted 11 May 2012 Link to this post

    Hi Marcel,

    Thank you for bringing this problem to our attention. I have logged it into our database and we will do our best to have it fixed for one of the upcoming releases. Here you can find the PITS Issue: Public URL

    Unfortunately, at this point, I cannot provide suitable workaround on this issue. Please excuse if for the inconvenience.

    As a small token of gratitude for your contribution I have updated your Telerik points.

    All the best,
    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. Tanya
    Tanya avatar
    1 posts
    Member since:
    Oct 2014

    Posted 24 Oct 2014 in reply to Dobromir Link to this post

    I have the same problem. Is the issue has been fixed?
  4. Vessy
    Vessy avatar
    2068 posts

    Posted 28 Oct 2014 Link to this post

    Hello Tanya,

    For the time being this scenario is not supported out of the box when the ImageEditor is used with the default AjaxToolsPanel. The reason for this behavior is caused by the fact that when more than one ImageEditor dialogs are opened at once, the Ajax requests get canceled and only the last one executes fully. In order to workaround this limitation, you can set each ImageEditor's ToolsLoadPanelType property to "XmlHttpPanel":
    <telerik:RadImageEditor ID="RadImageEditor1" runat="server" ImageUrl="~/Images/Jellyfish.jpg" OnClientLoad="onClientLoad" ToolsLoadPanelType="XmlHttpPanel"></telerik:RadImageEditor>
    <telerik:RadImageEditor ID="RadImageEditor2" runat="server" ImageUrl="~/Images/Jellyfish.jpg" OnClientLoad="onClientLoad" ToolsLoadPanelType="XmlHttpPanel"></telerik:RadImageEditor>
    <telerik:RadImageEditor ID="RadImageEditor3" runat="server" ImageUrl="~/Images/Jellyfish.jpg" OnClientLoad="onClientLoad" ToolsLoadPanelType="XmlHttpPanel"></telerik:RadImageEditor>
        function onClientLoad(imageEditor, args) {

    I hope this helps.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top