This is a migrated thread and some comments may be shown as answers.

RadUpload Filter not filtering the files

3 Answers 165 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 08 Feb 2011, 12:55 AM
Hi,

I have put in the filter as such:

        <telerikInput:RadUpload x:Name="radUpload" HorizontalAlignment="Center"
                                OverwriteExistingFiles="True"
                                Filter="Image Files (*.gif;*.jpg;*.jpeg;*.png)|*.gif;*.jpg;*.jpeg;*.png|Others (*.txt;*.pdf;*.doc;*.docx;*.docm;*.htm;*.html;*.csv;*.xls;*.xlsx;*.xlxm;*.xlsm;*.ppt;*.pptx;*.pptm;*.pps;*.ppsx;*.ppsm;*.oft;*.msg;*.rtf)|*.txt;*.pdf;*.doc;*.docx;*.docm;*.htm;*.html;*.csv;*.xls;*.xlsx;*.xlxm;*.xlsm;*.ppt;*.pptx;*.pptm;*.pps;*.ppsx;*.ppsm;*.oft;*.msg;*.rtf"
                                UploadServiceUrl="/SampleUploadHandler.ashx"
                                FileUploadStarting="radUpload_FileUploadStarting" />
it works on my sample project, but when I put it in my main project (Child window), when Others are selected in the browse dialog or Image Files, the actual files are not filtering based on the types selected.  I tried a shorter filter with just and it works:
"Image Files (*.gif;*.jpg;*.jpeg;*.png)|*.gif;*.jpg;*.jpeg;*.png|Others (*.txt)|*.txt"


Please advice

3 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 10 Feb 2011, 12:55 PM
Hello Josh,

I am unable to reproduce your issue in my environment at first sight. You can examine the attached project to see if I am missing something. You could also send us a runnable sample showing the issue which will be highly appreciated. Thank you in advance for your cooperation.

All the best,
Petar Mladenov
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
anuj
Top achievements
Rank 1
answered on 15 Sep 2011, 05:58 AM
Hi,
We are planning to buy File uploader control(

Rad Upload for Silverlight ).
We are satisfied with the funtionality of control, but need some information about the control.
1.Can we able to change the theme of uploader control  ?
2. Can we make it multilingual?
3.Can we hide select files to upload heading in Control.
i just want control with fileupload text box  and browse button,which can be convertible into multilingual..

Please reply with  solution
0
Petar Mladenov
Telerik team
answered on 20 Sep 2011, 03:08 PM
Hello Anuj,

 Thank you for your interest in the RadUpload control first. You can check out this help article describing how to change the default theme in the RadUpload. The second and the third question are related to the Localization feature in the RadUpload - so you can just examine this article. Please let us know if you need further assistance or info.

Regards,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Upload
Asked by
Josh
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
anuj
Top achievements
Rank 1
Share this question
or