This is a migrated thread and some comments may be shown as answers.

Uploaded Image is not Showing

1 Answer 47 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
kasi
Top achievements
Rank 1
kasi asked on 21 Jun 2011, 03:45 PM
Hi ,
I am using Rad Upload Control In my page  , i have set ControlObjectVisibility to None. I have One scenario to work on Rad Upload , 
Fist of all  i dont have any button to post back for uploading Files and I have to choose only image files. I m having asp.Image control above my radupload, when i select the image , i have to show the seleceted image in asp.Image conrol , that can be either in server or client side. Can you give me better idea or soultion to how to do the above scenario

1 Answer, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 23 Jun 2011, 04:48 PM
Hello kasi,

Straight to your questions.

Client side:
RadUpload control is using a standard input type="file" control. With it, it is possible go get the picture full path and set it to image source. Unfortunately it is possible to do this only in IE.

Server side:
With RadUpload control you need to submit the page in order to upload files. UploadedFiles property of RadUpload gives you access to the uploaded files. You can save and point them as an image source.

My suggestion is to use the RadAsyncUpload control. For more information, please consult with the following demo.

All the best,
Peter Filipov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Upload (Obsolete)
Asked by
kasi
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Share this question
or