I am looking for a way to simply bind a byte array to the ImageEditor. On my page, users can click various link buttons which will allow them to crop pictures coming from the database. How do I invoke the ImageLoading event each time a user clicks a link button? Right now it seems the ImageLoading event only fires when the page loads.
It would be ideal if the control could be used like this:
ImageEditor1.DataSource = SomeByteArray;
ImageEditor1.DataBind();
The DataBind would then fire an event similar to ImageLoading but you wouldn't have to handle the memory stream in the event, the DataBind would simply do it.
Just any idea. My immediate need is figuring out how to trigger the ImageLoading event.
Thanks!
It would be ideal if the control could be used like this:
ImageEditor1.DataSource = SomeByteArray;
ImageEditor1.DataBind();
The DataBind would then fire an event similar to ImageLoading but you wouldn't have to handle the memory stream in the event, the DataBind would simply do it.
Just any idea. My immediate need is figuring out how to trigger the ImageLoading event.
Thanks!