Preview image without saving in database

2 posts, 1 answers
  1. shaik Mohammed
    shaik Mohammed avatar
    12 posts
    Member since:
    Apr 2014

    Posted 24 Apr 2014 Link to this post

    Hi,

    i'm very new for telerik controls.

    i have studied for the custom handler function using asyncUpload Control, to get image preview with the link (http://demos.telerik.com/aspnet-ajax/asyncupload/examples/imageuploader/defaultcs.aspx).

    the above demo link showing how to get preview image automatically saving and database and retrieving from that database. and i'm quite confused.

    i have  scenario for new user profile registration

    i have fields example( name,email, photo)

    so user will upload profile image and able to see the preview of the Image.

    i want to save image in tempfolder and get preview. and  finally when i click on submit button, it should save image on original path folder and also save Filename with other fields data into database. and Finally delete file from temporary folder

    Please some can post the script to match my scenario

    Appreciated for better response

    Yasin
  2. Answer
    Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 28 Apr 2014 Link to this post

    Hi Yasin,

    You could combine the mentioned demo with the following one. When a postback occurs you could handle the FileUploaded event and process the uploaded files.

    Regards,
    Peter Filipov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top