Home All Groups Group Topic Archive Search About
Author
15 Jul 2005 8:09 AM
Shahzad via DotNetMonster.com
I want to upload an Image to save in database with some other information,
for this I have to give browsing facility to the user on my webpage to reach
the location. How can I use FileOpenDialog on webpage, Its working in vn.net
forms but not working on a "ASP.NET" webpage.

Regards

Shahzad; TheComr***@gmail.com

Author
16 Jul 2005 11:55 PM
Peter Bromberg [C# MVP]
Use an HTMLInputFile or "File Upload" ASP.NET control. Windows Forms
controls are a completely different paradigm, never assume you can use
a windows forms control on a webpage, unless you are authoring a
UserControl that will be hosted in Internet Explorer as the control's
container.
Author
17 Jul 2005 4:06 AM
Shahzad M via DotNetMonster.com
Thank you so much It is working

Peter Bromberg [C# MVP] wrote:
Show quoteHide quote
>Use an HTMLInputFile or "File Upload" ASP.NET control. Windows Forms
>controls are a completely different paradigm, never assume you can use
>a windows forms control on a webpage, unless you are authoring a
>UserControl that will be hosted in Internet Explorer as the control's
>container.