Click here to Skip to main content
16,020,990 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is there any possibility that without using any click event, when user selects an image by clicking on browse button of file upload control, then immediately the image should be displayed in the image control..
Posted

1 solution

You may use AJAX control toolkit's asynchronous file upload control. There is a server side event(UploadedComplete) that you can use to show the image after selecting the image. Here is the sample:
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AsyncFileUpload/AsyncFileUpload.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900