Intersoft Support Center

Add Real-time Uploading Capability with WebFileUploader

This walkthrough shows you how to integrate FileUploader in WebTextEditor.

During this walkthrough, you will learn how to do the following:

  • Integrating WebFileUploader in WebTextEditor
  • Create media resources in WebTextEditor

 Prerequisites

In order to complete this walkthrough, you will need the following:

  • Visual Studio 2008/2010 Application.

 Step-By-Step Instructions

To create custom task pane in WebTextEditor

  1. Launch Visual Studio.NET 2008.
  2. Click on File menu, then select New and click Web Site.
  3. Select ASP.NET Web Site in the Template box and set Location to HTTP.
  4. Named the Web Site and click OK.
  5. Copy the Thumbnails folder under WebTextEditor >> Thumbnails from the WebTextEditor sample to your project root folder.
  6. Right-click on Project's name and select Add New Item.
  7. Select WebForm in the My Templates box and named it as Walkthrough.aspx.
  8. Drag WebTextEditor instance from ToolBar to WebForm.
  9. Add some Media Resources to WebTextEditor, for example Thumbnails folder, using MediaResources property in the WebTextEditor.
  10. Named the TextEditorResourceGroup to Media1 and set the TextEditorResource folder to Thumbnails and AllowUserUpload property to true.



  11. Set the Enabled to True and DefaultUploadMediaResources to Thumbnails (the TextEditorResource name) under FileUploaderSettings section.




  12. Run the sample using web browser. The FileUploader can be accessed by clicking the [Insert From Computer] button in the Media Gallery task pane.

Previous Next