Upload Kendo component not validate format file

4 posts, 1 answers
  1. Daniel
    Daniel avatar
    6 posts
    Member since:
    Jul 2016

    Posted 11 Jan Link to this post

    Hi,

    I'm using the Kendo Upload component for MVC and I'm trying of validate the format for only upload .xlsx and .xls, but the validator doesn't work. I followed the example showed here http://demos.telerik.com/aspnet-mvc/upload/validation but the error persist.

    I don't know why, please, your help is very important for us.

     

    Regards,

  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2210 posts

    Posted 12 Jan Link to this post

    Hello Daniel,

    The Upload from the screen shot on the right looks like an older version of the widget, which does not actually have the validation feature, as it was included in the Q3 2016 release. Could you check and assure that the currently used Kendo UI version (and all scripts files which are part of it) is this one or later?

    Regards,
    Dimiter Madjarov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Daniel
    Daniel avatar
    6 posts
    Member since:
    Jul 2016

    Posted 12 Jan in reply to Dimiter Madjarov Link to this post

    How could I verify the version and the necessary scripts for this?

    And in this case, how update it?
  4. Answer
    Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2210 posts

    Posted 13 Jan Link to this post

    Hello Daniel,

    It looks like the version of the DLL assembly is correct, according to the screenshot. You should also check that the included Kendo UI scripts and styles are the same one (check the following documentation page for details). Their version is stated in a comment at the beginning of the file.

    Regards,
    Dimiter Madjarov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top