title: Kendo Upload get file size before post
body: <p>I need to get the file size using javascript</p>
  
  <pre><code>@(Html.Kendo().Upload()
                  .Name("files")
                  .Messages(m =&gt; m.Select("Browse"))
                  .Multiple(false)
                  .HtmlAttributes(new { aria_label = "files" })
                  .Validation(
                      validation =&gt; validation.AllowedExtensions(new string[] { ".dlis", ".doc", ".docx", ".heic", ".jpeg", ".jpg", ".las", ".mov", ".mp4", ".pdf", ".png", ".tif", ".wav", ".xls", ".xlsx", ".zip" })
                      .MaxFileSize(2147483647))          
              )
  </code></pre>