I click on the save button in the toolbar. Select in the dialog Save Image to server. I save the image to database using the code below, but it even create a image file to the folder.
How do I get around the problem that it creates an image in the folder when I save? Just want the image changes are saved to the database when I choose "Save Image to server". Someone who can help me :-)
How do I get around the problem that it creates an image in the folder when I save? Just want the image changes are saved to the database when I choose "Save Image to server". Someone who can help me :-)
Protected Sub RadImageEditor1_ImageSaving(sender As Object, args As ImageEditorSavingEventArgs)
Dim img As EditableImage = args.Image
Dim s As New MemoryStream()
img.Image.Save(s, img.RawFormat)
Dim imgData As Byte() = s.ToArray()