Hi all,
Could someone help me with this issue... I'm wanting to code the AllowedFileExtensions on the server side or make it dymanic...
Code behind:
radAsyncUpload1.AllowedFileExtensions = "doc.docx,pdf.xls".Split(',');
doesn't seem to be working and it fails on the client end.
But when I it's in the control like this it work...
<telerik:RadAsyncUpload ID="radAsyncUpload1" runat="server" AllowedFileExtensions="doc,docx,pdf,xls" />
based on this http://demos.telerik.com/aspnet-ajax/asyncupload/examples/validation/defaultcs.aspx.
Could someone help me with this issue... I'm wanting to code the AllowedFileExtensions on the server side or make it dymanic...
Code behind:
radAsyncUpload1.AllowedFileExtensions = "doc.docx,pdf.xls".Split(',');
doesn't seem to be working and it fails on the client end.
But when I it's in the control like this it work...
<telerik:RadAsyncUpload ID="radAsyncUpload1" runat="server" AllowedFileExtensions="doc,docx,pdf,xls" />
based on this http://demos.telerik.com/aspnet-ajax/asyncupload/examples/validation/defaultcs.aspx.