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

uploading a default image

1 Answer 68 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
L
Top achievements
Rank 1
L asked on 01 Mar 2009, 03:59 PM
hi

Based on your demo http://demos.telerik.com/aspnet-ajax/controls/examples/integration/raduploadinajaxifiedgrid/defaultcs.aspx?product=upload. How do I upload default image when the user did not select any picture for upload?

For example. i want to upload a NoImage.gif if user did not select any picture for upload. Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 02 Mar 2009, 08:47 AM
Hello L,

You cannot upload a default image because you cannot programmatically "select" a file. I suggest you reconsider your business logic and just use a default image if the user didn't upload one.

Regards,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Upload (Obsolete)
Asked by
L
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or