Skip to content

DevExpress-Examples/asp-net-web-forms-cardview-upload-and-save-files-in-edit-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CardView for ASP.NET Web Forms - How to upload files in edit mode and save them to a database

This example demonstrates how to upload and save files in edit mode.

Overview

Follow the steps below:

  1. Specify the control's EditItemTemplate property and add an upload control to the template.
  2. In the FileUploadComplete event handler, save files to a session.
  3. When the user saves changes, save the uploaded files to a database in the CardUpdating event handler.
  4. To allow the user to download files, use a hyper link control and add it to the grid's data item template.
  5. In the hyperlink's Load event handler, specify the control's Text and NavigateUrl properties. The general technique of using the Init/Load event handler topic.

Files to Review

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)