Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Image Upload Processing

  • Undo (Ctrl+Z)
  • Redo (Ctrl+Y)
  • Bold (Ctrl+B)
  • Italic (Ctrl+I)
  • Underline
  • Strikethrough
  • Insert Image (Ctrl+G)
Uploaded Image Settings
+
-
+
-


The DevExpress ASP.NET MVC HTML Editor provides you with an ability to process an uploaded file before it is saved to the server. You can process image, audio, video, and flash files in controller actions specified using the following properties: SettingsImageUpload.UploadCallbackRouteValues, SettingsAudioUpload.UploadCallbackRouteValues, SettingsVideoUpload.UploadCallbackRouteValues, and SettingsFlashUpload.UploadCallbackRouteValues.

In this demo, image file saving callback is handled by a controller action specified using the SettingsImageUpload.UploadCallbackRouteValues property. In this action, an uploaded image is overplayed with the watermark text and resized to fit the specified size limitation.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
The source code files for this demo are installed (by default) in the following directory:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxHTMLEditorDemos