I've seen various comments on best practice for doing this, but nothing definitive (that I've found) on the proper way to do this.
Given this:
How best to access subscriptionId in the handler function?
somehow the solution shown doesn't seem like the "Kendo" way.
Given this:
<input data-role="switch" data-change="switchChangedHandler" data-subscriptionId="10" id="switch1"/><input data-role="switch" data-change="switchChangedHandler" data-subscriptionId="9" id="switch2"/><input data-role="switch" data-change="switchChangedHandler" data-subscriptionId="8" id="switch3"/>function switchChangedHandler(e) { // I've seen this in a forum example but is it really the best way? var subscriptionId = e.sender.element.context.dataset.subscriptionId; // How to best get it?}