Last Updated: 16 Jan 2019 17:40 by ADMIN
Created on: 09 Jan 2019 22:02
Category: Upload
Type: Bug Report
k-on-select doesn’t work for file-upload directive even though the docs seem to suggest it should.

If I read I find “Setting Handlers through k-on Attribute” which suggests that I should be able to write `k-on-` prior to any of the events documented at and automatically run under `$apply()` or `$applyAsync()`. However, when I try that, my event handler doesn’t even run at all.

I think this is an oversight.

I can reproduce this in which is generated from the link at which uses AngularJS v1.7.2 and Kendo UI v2018.3.1017.

(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
Ivan Danchev
Posted on: 16 Jan 2019 17:40
Hi Nathan,

Thank you for clarifying the scenario.

Ivan Danchev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Posted on: 10 Jan 2019 19:08

Sorry, this was my mistake. `k-on-select` does work but it, following the AngularJS convention, executes the string value using `scope#$eval()`. That means that if I put a function there, the value will resolve to a function. So my solution is to properly make my expression a function call.