Giter Site home page Giter Site logo

devexpress-examples / aspxcardview-how-to-upload-files-in-the-edit-mode-and-save-them-in-a-database-t578527 Goto Github PK

View Code? Open in Web Editor NEW
0.0 56.0 0.0 597 KB

Upload and save files in edit mode.

License: Other

C# 23.26% ASP.NET 74.37% Visual Basic .NET 2.37%
dotnet aspxcardview asp-net

aspxcardview-how-to-upload-files-in-the-edit-mode-and-save-them-in-a-database-t578527's Introduction

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

aspxcardview-how-to-upload-files-in-the-edit-mode-and-save-them-in-a-database-t578527's People

Contributors

devexpressexamplebot avatar elenapeskova avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.