I'm having a problem getting the data-attributes to work for a custom report menu. Following the example in the documentation I create a button with a data-command attribute, and add the data-target as instructed. I am still unable to trigger the functionality. Any help on this would be great. I have attempted this using several commands to test and thus far have been unsuccessful.
I have upgraded to the latest service pack ( Telerik Reporting Q2 2014 SP1 (8.1.14.804)) and according to the release notes, this version should expose the commands. I have attempted the above, as well as using the commands to get the instance and call the commands directly;
var sample = $('viewer').data('telerik_ReportViewer');
sample.commands.goToFirstPage().exec();
This too, has been unsuccessful. Do I need to be inside of a special container or such when calling the attributes?
I have upgraded to the latest service pack ( Telerik Reporting Q2 2014 SP1 (8.1.14.804)) and according to the release notes, this version should expose the commands. I have attempted the above, as well as using the commands to get the instance and call the commands directly;
var sample = $('viewer').data('telerik_ReportViewer');
sample.commands.goToFirstPage().exec();
This too, has been unsuccessful. Do I need to be inside of a special container or such when calling the attributes?