Hello,
is there a way to get the id of the pressed action button if using a template?
<script id="fileUploadTemplate" type="text/x-kendo-template">
<span class='k-progress'></span>
<div class='file-wrapper'>
<text class='file-heading file-name-heading'>Name: #=name#</text>
<text class='file-heading file-size-heading'>Size: #=size# bytes</text>
<strong class="k-upload-status">
<span class="k-upload-pct"></span>
<button type="button" class="k-button k-button-bare k-upload-action">
<span class="k-icon k-i-close k-delete" title="entfernen"></span>
</button>
<button id="BUTTON_TWO" type="button" class="k-button k-button-bare k-upload-action" style="left:-70px;">
<span class="k-icon k-i-arrow-s k-delete" title="entfernen"></span>
</button>
</strong>
</div>
</script>
I want to get the id in the remove function of the widget, so i can pass individual data to the servers "remove"-Action.
The functions event.sender is not the pressed button...
Any way?
The reason why i need it is to have a button for previewing allready uploaded files from this widget dialog...
Thank you,
Richard.