Custom Control Demo – OpenFileDialog From Scratch
ori.cohen posted on September 24, 2009 :: 586 views
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
Download Code
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...
- 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.
- 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.
- You may link to this code from another website, but ONLY if it is not wrapped in a frame.
- You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.