Detecting no file name condition

Thread is closed for posting
2 posts, 0 answers
  1. Rich
    Rich avatar
    25 posts
    Member since:
    Jun 2010

    Posted 21 Sep 2010 Link to this post

    I am using the RadUpload control and have an issue with it, as follows:

    When the submit button is clicked without selecting any file in the upload control, a postback occurs but the button logic isn't called.  The form is then cleared with no error message displayed.

    How can I detect this condition (no upload file specified) and handle it in a more graceful manner?
  2. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 23 Sep 2010 Link to this post

    Hello Richard,

    Take a look at this help article for information on how to detect this scenario.

    All the best,
    Genady Sergeev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top