Hi,
I am trying to filter the allowed files to upload depending on the media library that has been selected. (docs, images, videos, etc)
I have the radasyncupload control in a modal window. Switching between media categories is done with a button for each cat. I tried to change the AllowedFileExtensions property there for each media type but it didn't work. Should I set it somewhere else?
Also, how could I change FileFilter description and extensions in codebehind? is it even possible? i tried using Eval("desc/ext") but I have must missed something.
Any suggestions would be appreciated it. I am thinking in doing a radasyncupload control for each media type and just hide/display accordingly but I would like to avoid that.
Thanks
I am trying to filter the allowed files to upload depending on the media library that has been selected. (docs, images, videos, etc)
I have the radasyncupload control in a modal window. Switching between media categories is done with a button for each cat. I tried to change the AllowedFileExtensions property there for each media type but it didn't work. Should I set it somewhere else?
Also, how could I change FileFilter description and extensions in codebehind? is it even possible? i tried using Eval("desc/ext") but I have must missed something.
<
FileFilters
>
<
telerik:FileFilter
Description
=
"Images(jpg;jpeg;png;gif)"
Extensions
=
"jpg,jpeg,png,gif"
/>
</
FileFilters
>
Any suggestions would be appreciated it. I am thinking in doing a radasyncupload control for each media type and just hide/display accordingly but I would like to avoid that.
Thanks