Subscribe to Subscribers
Talk to Webmaster Tony John

Forums » .NET » ASP.NET »

Upload a image without using file upload control


Posted Date: 15 Nov 2011      Posted By:: Aman Gandhi     Member Level: Gold    Member Rank: 402     Points: 2   Responses: 2



i want to upload a image but don't want to use file upload control. i want to use a single button.

when somebody click on it a open file dialogue should open. after select file when user click on ok button, image will be displayed in image control

thanks.

Aman Gandhi
comman sense is not so comman........




Responses

#641999    Author: Paritosh Mohapatra      Member Level: Diamond      Member Rank: 6     Date: 15/Nov/2011   Rating: 2 out of 52 out of 5     Points: 2

It is not possible in most of the latest browsers due to security reasons. You cannot access the full directory of a local system. For a web application the working directory is the directory where the application is hosted and you can access that directory only using your program.


Thanks & Regards
Paritosh Mohapatra
Microsoft MVP (ASP.Net/IIS)
DotNetSpider MVM



 
#642006    Author: Aman Gandhi      Member Level: Gold      Member Rank: 402     Date: 15/Nov/2011   Rating: 2 out of 52 out of 5     Points: 1

i only don't want to use a file upload control.can i perform similar task on a single button click. in another word.... is there is any another method to remove textbox of file upload control.

Aman Gandhi
comman sense is not so comman........



 
Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.



Next : Button showing enabled when disabled
Previous : Permission for web pages as per the login
Return to Discussion Forum
Post New Message
Category:

Related Messages
Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
2005 - 2012 All Rights Reserved.
.NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
Articles, tutorials and all other content offered here is for educational purpose only.
We are not associated with Microsoft or its partners.