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

Allow submit of File Upload when no file specified

1 Answer 48 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Steve Marks
Top achievements
Rank 1
Steve Marks asked on 18 Nov 2009, 09:09 PM

Hello,

I need to allow submit of a File Upload when no file is specified. My form adds additional fields using the method described here: http://demos.telerik.com/aspnet-ajax/upload/examples/additionalfields/defaultcs.aspx

I need to have the form submit if any data was entered in any of the additional fields even if no file to upload is set. My application will then process the data submitted. It is acceptable if no uploaded file is specified as long as some data was entered in one of the additional fields.

 

How can I do this?

 

Thanks,

Steve

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 26 Nov 2009, 12:35 PM
Hi Steve,

If I understood you correctly you want to upload a file even if the user did not select it. This is not possible due to security reasons and is controlled by the browser.

Kind regards,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Upload (Obsolete)
Asked by
Steve Marks
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or