kendo upload image file dimension validation

对着背影说爱祢 提交于 2019-12-25 02:29:57

问题


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

来源:https://stackoverflow.com/questions/24076714/kendo-upload-image-file-dimension-validation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!