Okay, I lied. I removed that code and the original upload didn't work....
protected void RadImageEditor1_ImageLoading(object sender, ImageEditorLoadingEventArgs args)
{
//Handle Uploaded images
if (!Object.Equals(Context.Cache.Get(Session.SessionID + "UploadedFile"), null))
{
using (EditableImage image = new EditableImage((MemoryStream)Context.Cache.Get(Session.SessionID + "UploadedFile")))
{
args.Image = image.Clone();
args.Cancel = true;
}
}
}
How do I get the upload to work without reloading the picture on susequent calls to the window?