here is my problem i have been using ken do-control upload control to upload my images and the real problem is i want to set validation that user should upload image in 35 mm*45 mm.and in ken do upload events i have given a function Events(events => .Select("onImageSelect")
and in function function onImageSelect(e) {
if (e.files[0].width == 35||e.files[0].height == 45)
{
return true;
}
but i am getting width and height undefined
0条回答
相关问题
- How to generate URL for the action with attribute
- How to retrieve multiple columns from non-entity t
- Asp.Net MVC 5 Identity Create Database Admin Inter
- Unable to login to PiranhaCMS after setup
- ASP MVC 5 - 403 customError not working
相关文章
- Why do I need a ToList() to avoid disposed context
- Cannot implicitly convert Web.Http.Results.JsonRes
- Kendo Ui Dropdownlist Set Visible via Javascript
- “Trust relationship between … and the primary doma
- How to change view date dynamically (which is filt
- Kendo DropDownList Shows DataValueField Prior to D
- MVC5 Identity/OWIN - Signout events
- ASP.Net Identity customizing UserProfile