Silverlight

Last post 01-17-2011, 1:11 PM by Adam. 6 replies.
Sort Posts: Previous Next
  •  04-26-2010, 9:56 AM 60404

    Silverlight

    Which version of silverlight is supported by the ajaxuploader?
    Filed under:
  •  04-26-2010, 11:00 AM 60406 in reply to 60404

    Re: Silverlight

    Dear rabelanger,
     
    You do not have to install silverlight, please refer to http://cutesoft.net/forums/post/48456.aspx 
    I have tested it in silverlight v3 and v4, all work.
     
    Regards,
    Eric
  •  04-26-2010, 12:20 PM 60410 in reply to 60406

    Re: Silverlight

    After reading the post you linked, it is clear;y written, "If Ajax Uploader detects SilverLight is installed on your PC, It will use the SilverLight solution". This is exactly what I want, to use Silverlight (uploading large files). With silverlight installed, I get a message "Please install silverlight v3 or higher", and it is installed. I think my problem is related to using the component in a IFRAME element. But it is a bit silly that a component wouldnt work because of that.
     
    Rafael
  •  04-26-2010, 4:43 PM 60417 in reply to 60410

    Re: Silverlight

    Rafael,
     
    Please check the following example: http://ajaxuploader.com/iframe.htm
     
    Which version of silverlight are you using?

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  04-27-2010, 8:46 AM 60448 in reply to 60417

    Re: Silverlight

    Hi Adam,
     
    the example you gave me works. Im using Silverlight 3.0.50106.0. I also tried with the latest version (4.0.50401.0). In both cases, I receive the same message. Im testing it on localhost. 
     
    When im testing the controller not in the IFRAME, as in loading the source of the IFRAME in a page, the controller works. The only thing I can think of is that im dynamically creating the IFRAME. At the initial of the parent page, the IFRAME does not exist. At some point in the process, I create a Window (div) with an IFRAME in it (using ExtJs). Nonetheless, a source of an IFRAME gets loaded like any other page, I dont see any reason the controller would think silverlight it is not installed.
     
    If the problem is at the browser level (works with IE6, not Firefox 3.6.3) then I will figure something out. If its not, then let me know what I need to do/test to make it work.
     
    I cant use flash because my server is Windows 2003 and since it is a corporate application, I cant put the authentication to anonymous and even though it works with FlashLoadMode=true, it eats up too much memory and slows down the server a bit too much (500mb+ files). Silverlight is my only solution.
     
    Rafael
     
     
  •  04-27-2010, 9:13 PM 60482 in reply to 60448

    Re: Silverlight

    Rafael,
     
    Do you set UploadType=Silverlight ?
     
    The Firefox3.6 have bug on calculating the mouse position on the Silverlight object in an IFrame, that make the silverlight can't recieve the mouse click event and can't show the file browsing dialog.
     
    So we disabled the silverlight on that condition.
     
    If you set UploadType=Silverlight , the uploader will report the silverlight not installed.
     
    So , I suggest you try this  at server side :
     
    if( itisfirefox36 )
    {
        uploader.UploadType=UploadType.Auto;
    }
    else
    {
        uploader.UploadType=UploadType.Silverlight;
    }
     
    Regards,
    Terry
  •  01-17-2011, 1:11 PM 65743 in reply to 60448

    Re: Silverlight

    rabelanger:
    Hi Adam,
     
    the example you gave me works. Im using Silverlight 3.0.50106.0. I also tried with the latest version (4.0.50401.0). In both cases, I receive the same message. Im testing it on localhost. 
     
    When im testing the controller not in the IFRAME, as in loading the source of the IFRAME in a page, the controller works. The only thing I can think of is that im dynamically creating the IFRAME. At the initial of the parent page, the IFRAME does not exist. At some point in the process, I create a Window (div) with an IFRAME in it (using ExtJs). Nonetheless, a source of an IFRAME gets loaded like any other page, I dont see any reason the controller would think silverlight it is not installed.
     
    If the problem is at the browser level (works with IE6, not Firefox 3.6.3) then I will figure something out. If its not, then let me know what I need to do/test to make it work.
     
    I cant use flash because my server is Windows 2003 and since it is a corporate application, I cant put the authentication to anonymous and even though it works with FlashLoadMode=true, it eats up too much memory and slows down the server a bit too much (500mb+ files). Silverlight is my only solution.
     
    Rafael
     
     
     
    Rafael,
     
    This issue is fixed in the latest build.
     
     
    Keep me posted

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML