Uploaded Image is not Showing

Thread is closed for posting
2 posts, 0 answers
  1. kasi
    kasi avatar
    29 posts
    Member since:
    May 2011

    Posted 21 Jun 2011 Link to this post

    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
  2. Peter Filipov
    Peter Filipov avatar
    1028 posts

    Posted 23 Jun 2011 Link to this post

    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.

Back to Top