upload silverlight mvc

5 posts, 2 answers
  1. Viorel Teodorescu
    Viorel Teodorescu avatar
    4 posts
    Member since:
    Feb 2010

    Posted 26 Jul 2010 Link to this post

    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.
  2. Answer
    Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 26 Jul 2010 Link to this post

    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
  3. DevCraft banner
  4. Viorel Teodorescu
    Viorel Teodorescu avatar
    4 posts
    Member since:
    Feb 2010

    Posted 26 Jul 2010 Link to this post

    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.
  5. Answer
    Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 26 Jul 2010 Link to this post

    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
  6. Viorel Teodorescu
    Viorel Teodorescu avatar
    4 posts
    Member since:
    Feb 2010

    Posted 28 Jul 2010 Link to this post

    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.
Back to Top
DevCraft banner