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

RadUpload trial for SL3

3 Answers 61 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Francisco Bernardo
Top achievements
Rank 1
Francisco Bernardo asked on 29 Jul 2009, 02:56 PM
Hello,

i'm trying to create a little demo with 

RadControls_for_Silverlight3_2009_2_724_trial.zip  which i've found in http://www.telerik.com/account/downloads/internal-builds.aspx


I need to test RadUpload in SL3 runtime. 

However i can't seem to reference Telerik.Windows.RadUploadHandler.dll in my project. The error reported says that this dll isn't build against Silverlight run time. 

Is this the right dll to reference for the purpose, or is there any other problem ?

Francisco 


3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 29 Jul 2009, 03:01 PM
Hello Francisco,

Indeed this assembly is not compiled against Silverlight - this is for the server-side. You can check this article for more info:
http://www.telerik.com/help/silverlight/radupload-declaration.html

All the best,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Francisco Bernardo
Top achievements
Rank 1
answered on 29 Jul 2009, 03:59 PM
Thank you Vlad,

i managed to setup the server side part. However, i'm still not shure regarding the client part...

Do i have any special control to integrate on Silverlight application ? 

I didn't quite get this "Set the UploadServiceUrl property. The URL can be an absolute or relative url that point to the upload handler. The domain where the Silverlight application ". Where should i do this  ?

Francisco
0
Ivan
Telerik team
answered on 03 Aug 2009, 05:33 PM
Hello Francisco,

Actually the UploadServiceUrl property is a RadUpload's property. You can initialize it as in the code below:
<telerikInput:RadUpload 
    UploadServiceUrl="../RadUploadHandler.ashx" 
    TargetFolder="UserUploads" 
    IsAutomaticUpload="False" 
    OverwriteExistingFiles="True" 
    Filter="Image Files (*.gif;*.jpg;*.jpeg;*.png)|*.gif;*.jpg;*.jpeg;*.png" 
    /> 

More about RadUpload you can find in our KB articles and online help.

If you have more questions please do not hesitate to contact us.


All the best,
Ivan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Upload
Asked by
Francisco Bernardo
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Francisco Bernardo
Top achievements
Rank 1
Ivan
Telerik team
Share this question
or