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

rad upload control

2 Answers 70 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 04 Aug 2011, 01:34 PM
Hi folks,

Im new to telerik controls and i was wondering the following:

is the latest version of the telerik rad upload control supporting multiple file upload ?
That is in 1 DIALOGUE. So NOT 10 single upload controls... and call it multiple upload control....
I find that there is no way you should call it mutliple file upload if you set 10 single file uploaders after eachother.
Thats just cheating :p

Im not flaming here, i love the controls.

Then, is there a possibility to change the control in source code, so that you can define a file limit depending on the extension ?
Or is this almost not able to archieve ? So fe. I want the user to restrict jpeg files up to 2MB... and then wmv files up to 10MB.

Thx alot in advance, any info you can give me , is much appreciated :)


*edit* so sorry about the crappy title :(, cant adjust it 

2 Answers, 1 is accepted

Sort by
0
Kevin
Top achievements
Rank 2
answered on 04 Aug 2011, 05:52 PM
Hello Tom,

For mulitple file selection, when it comes to the file dialog window, you need to use the RadAsyncUpload control for that. This cannot be achieved when using the RadUpload control because it's not possible.

To answer you second question, you can handle the FileUploaded event of RadAsyncUpload and perform your validation logic there. For RadUpload, you would handle the ValidatingFile event. You can refer to these help articles about the events:

FileUploaded Event (RadAsyncUpload): http://www.telerik.com/help/aspnet-ajax/asyncupload-fileuploadedevent.html
ValidatingFile Event (RadUpload): http://www.telerik.com/help/aspnet-ajax/upload-server-side-validating-file.html

I hope that helps.
0
Tom
Top achievements
Rank 1
answered on 05 Aug 2011, 08:40 AM
maybe im on the wrong part of this forum here but im gonna ask it anyway


i have to adjust this telerik control, wich is a silverlight project in my VS2010
now the customer showed me this application and then mailed it to me...

when i viewed it with him, there were multiple projects, i think 2, and now i open his files i only see 1 project with the upload tool in it.
The other project had the Silverlight.js file in it, wich i dont seem to see anywhere ....

I dont want to look stupid to the customer there for i ask it here, that the second project could be generated or something like that ?  

Note: i can run the application, but it gives me a white screen with the typical yellow triangle error wich states something about a parameter being length 0. the params are loaded with e.InitParams .... but i dont find where those parameters are located....
Cant see a webconfig file in my solution explorer either...


a lot of question indeed :)


Tags
Upload (Obsolete)
Asked by
Tom
Top achievements
Rank 1
Answers by
Kevin
Top achievements
Rank 2
Tom
Top achievements
Rank 1
Share this question
or