OnImageChanged

4 posts, 0 answers
  1. Luc Cappaert
    Luc Cappaert avatar
    7 posts
    Member since:
    Jun 2005

    Posted 29 Aug 2011 Link to this post

    I seem to be unable to get the OnImageChanged server-side event to fire ... tried with an empty project with default.aspx content:

     

    <div>
        <telerik:RadImageEditor ID="RadImageEditor1" runat="server" OnImageChanged="RadImageEditor1_ImageChanged"
            ImageUrl="~/images/160004.jpg">
        </telerik:RadImageEditor>
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label><telerik:RadButton
            ID="RadButton1" runat="server" Text="PostBack" AutoPostBack="true">
        </telerik:RadButton>
    </div>

    And in the code-behind:

     

    protected void RadImageEditor1_ImageChanged(object sender, Telerik.Web.UI.ImageEditorEventArgs args)
        {
            Label1.Text = System.DateTime.Now.ToString();
        }

    It seems the Label's text never gets updated ...

     

     


    What am I doing wrong here ?

     

  2. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 01 Sep 2011 Link to this post

    Hi Luc,

    Thank you for reporting this problem.

    I verified that this is a bug and logged it for fixing in our PITS system. Here you can find the PITS Issue: Public URL.

    I also updated your Telerik points for your bug report.

    Best regards,
    Rumen
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Andres Calvete
    Andres Calvete avatar
    9 posts
    Member since:
    Nov 2009

    Posted 02 Sep 2011 Link to this post

    Hello,

    Does this bug occurs on certain actions of the rad image editor? When I crop an image, for me the event does fire but when I try to resize the image, it doesn't. 

    Thank you
  5. Luc Cappaert
    Luc Cappaert avatar
    7 posts
    Member since:
    Jun 2005

    Posted 03 Sep 2011 Link to this post

    You are correct: the event does fire when you crop, but it does not fire when you rotate the image (for instance).Note that this issue is now marked "resolved" in the public issue tracker (Issue ID 7665 - FIX OnImageChanged not working). I presume a working version will popup in one of the next internal builds...
Back to Top