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

upload silverlight mvc

4 Answers 80 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Viorel Teodorescu
Top achievements
Rank 1
Viorel Teodorescu asked on 26 Jul 2010, 05:16 PM
Hi everyone,

Trying to have an example of the silverlight uploader in an mvc applicattion, I downloaded the example app in this post and build it.
I had trouble uploading files, when I press upload button I get an exclamation mark. I tried to change the UploadServiceUrl to something like http://localhost:6519/RadUploadHandler.ashx. Also tried to change TargetFolder without luck.

I'm trying to debug the application but I don't see any error messages.
Can you give some directions of what to do?, How can I debug it?.

thanks in advance for any help.

4 Answers, 1 is accepted

Sort by
0
Accepted
Tina Stancheva
Telerik team
answered on 26 Jul 2010, 05:36 PM
Hello Viorel Teodorescu,

During the past months the RadUpload control was improved, therefore I wanted to ask you to test it using the latest internal build (RadControls_for_Silverlight_4_2010_2_714) which you can download from your account.

Here are the breaking changes for the RadUpload:
------------------------------
RadUploadHandler:

If there is no custom handler the default setup will work out of the box.
If a custom handler is implemented the following changes should be performed:

  • When the ProcessStream()  method is overridden the logic should be placed in the SaveChunkData() override.
  • The way the parameters are passed to the handler is changed, and the usage of this.Request.Form[paramName] should be replaced withthis.GetQueryParameter(paramName)

------------------------------
More information you can find here.

I also modified the example using the latest dlls. Give it a try and let me know if it works for you or if you need more info.

Regards,
Tina Stancheva
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Viorel Teodorescu
Top achievements
Rank 1
answered on 26 Jul 2010, 06:27 PM
Thanks Tina for the rapid answer.

Yes I'm using the last build, it still doesn't work.
I tried with the project you attached and I'm getting the same problem. I left the RadUploadHandler.ashx handler without overrides.

What else can I do?,
thanks a lot.
0
Accepted
Valentin.Stoychev
Telerik team
answered on 26 Jul 2010, 07:21 PM
Hi Viorel Teodorescu,

When you hover the error icon you should see an error message displayed as a tooltip. What is the message that is displayed?

Kind regards,
Valentin.Stoychev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Viorel Teodorescu
Top achievements
Rank 1
answered on 28 Jul 2010, 06:21 PM
Hi again,

I solved using the tip, and the changes you said.
It's was the location of RadUploadHanlder.ashx.

thank's a lot for your help.
Tags
Upload
Asked by
Viorel Teodorescu
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Viorel Teodorescu
Top achievements
Rank 1
Valentin.Stoychev
Telerik team
Share this question
or