Display OpenFileDialog On click event of ImageButton using ASP.NET & C#
-
I want to upload image file(only .jpg, .gif, .png) on server. But according to requirement I've to use image button to browse file. After selecting file, on "Save Changes" button i've to upload image to server I'm not able to display File dialog on click event of ImageButton. Please Help..! I'm new in the .Net. Thanks In Advance...!
-
I want to upload image file(only .jpg, .gif, .png) on server. But according to requirement I've to use image button to browse file. After selecting file, on "Save Changes" button i've to upload image to server I'm not able to display File dialog on click event of ImageButton. Please Help..! I'm new in the .Net. Thanks In Advance...!
The simple answer is 'You can not'. The only FileOpen dialog you get is 'Browse' using , which creates a textbox and a button. Anything else might need ActiveX.
Vasudevan Deepak Kumar Personal Homepage namespace LavanyaDeepak
Personal Weblog
The World of Deepak and Lavanya
Views and Reviews