Search KB Filter article types
Custom Control Demo – OpenFileDialog From Scratch
By: Ori Cohen
Categories: Custom Controls
Tags: Developers, Events, JavaScript, 3. Advanced, Customization, v6.3
Revision: 1
Posted: 09/Jan/2009
Updated: 09/Jan/2009
Status: Publish
Types: Code

This Custom Control sample shows you the basics of creating your own OpenFileDialog control from scratch, so users can upload files to the server.

This demo allows you to upload up to 3 files to the server & displays message boxes confirming that each file has been received successfully.

You’ll note that this control inherits from the HTMLBox.

In this example, we use an AssemblyResourceHandle to access resources on-demand from an external assembly.

–Ryan & Jeremiah, GeniusCode.net

 

Note: Codes are submitted as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Terms of Agreement:
By using this code, you agree to the following terms...

1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
3. You may link to this code from another website, but ONLY if it is not wrapped in a frame.
4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


About the author

Related Articles

Custom Controls  
Title Update Author
I played a bit around with the new 6.4 ListView control, its quite amazing what you can do with it. It opens a lot of new ways to present data in a better and more userfriendly way.
Tags: Architects, Developers, Data Binding, C#, 2. Intermediate, 3. Advanced, Customization, Data Binding, v6.4 and Later
02/July/2012    2012/07/02
In this How to we are going to learn the basic usage of Visual WebGui RIA Platform Theme & Control designer.
Tags: Developers, Graphic Designers, Theme, 1. Beginner, 2. Intermediate, Customization, v6.4 and Later, 3. Advanced
04/Jan/2009    2009/01/04
Tags: Developers, Events, JavaScript, 1. Beginner, 2. Intermediate, Integration, Pre v6.3, v6.3, 3. Advanced
07/Jan/2007    2007/01/07
Tags: Developers, Events, JavaScript, 2. Intermediate, 3. Advanced, Integration, Pre v6.3, v6.3
11/Jan/2007    2007/01/11
Tags: Developers, Graphic Designers, Theme, 1. Beginner, 2. Intermediate, Customization, v6.4 and Later, 3. Advanced
06/Jan/2009    2009/01/06
Code snippet for custom Drag&Drop image
Tags: Developers, Drag & Drop, Resource Handlers, C#, XSLT, 2. Intermediate, 3. Advanced, Customization, DHTML, v6.4 and Later
08/June/2011    2011/06/08
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS