Great! Thanks! You are of great help.
But there is still some queries that I would like to understand.
In the attached I tried to download the image but it is giving me an error.
how can I remove the download image option in the dialog?
How can I not show the dialog box when I click on pencil or save? I would like the default to be used by the user. For example, When user select pencil, they cannot choose the color as well as the size ( the dialog box will be hidden). Same for the Save, When user click on save, I want it to be auto select save to server and automatically goes to my code behind.
Is there a way to do the above?
In below code(refer to line 26), I need to get the image type to store in the database. Currently I have to hard code the image type. May I ask how do I get the imagetype from the EditableImage?
sender, ImageEditorSavingEventArgs args)
Telerik.Web.UI.ImageEditor.EditableImage img = args.Image;
MemoryStream ms =
 imageFile = ms.ToArray();
fileLength = imageFile.Length;
//your logic for DB saving here
(fileLength == 0)
"Error! No file to Upload"
(fileLength > 5 * (1024 * 1024))
"File size ("
+ fileLength / (1024 * 1024) +
"mB) more than 5MB"
ms.Read(imageFile, 0, fileLength);
jbId = ViewState[
//insert into DB