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

OnImageChanged

3 Answers 103 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Luc Cappaert
Top achievements
Rank 2
Luc Cappaert asked on 29 Aug 2011, 03:14 PM

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 ?

 

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 01 Sep 2011, 09:13 AM
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 >>

0
Andres Calvete
Top achievements
Rank 1
answered on 02 Sep 2011, 08:54 PM
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
0
Luc Cappaert
Top achievements
Rank 2
answered on 03 Sep 2011, 06:33 AM
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...
Tags
ImageEditor
Asked by
Luc Cappaert
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Andres Calvete
Top achievements
Rank 1
Luc Cappaert
Top achievements
Rank 2
Share this question
or