the js function
CuteWebUI_AjaxUploader_OnBrowse fires twice in my implementation.
<CuteWebUI:UploadAttachments runat="server" ID="files" MultipleFilesUpload="false" MaxFilesLimit="1"
ProgressTextTemplate="Processing file.. (%SIZE%)" ProgressPanelWidth="200"
InsertButtonID="btnSelectFiles" ValidateOption-AllowedFileExtensions="Only Word files allowed">
<ValidateOption AllowedFileExtensions="doc,docx" />
</CuteWebUI:UploadAttachments>
<telerik:RadButton ID="btnSelectFiles" runat="server" Text="Select template" CausesValidation="false" />
function CuteWebUI_AjaxUploader_OnBrowse() {
var templateId = $("input[id$='hTemplateId']").val();
console.log(templateId);
}