disabled upload file button on demo

Last post 05-05-2009, 2:27 PM by cutechat. 3 replies.
Sort Posts: Previous Next
  •  05-01-2009, 12:31 PM 51739

    disabled upload file button on demo


    Downloaded the demo code.  ran it under visual studio 2008 on my local.  All demos worked perfect. 
     
    Published demo project up to test server.  Created IIS site.  All project files and bin files copied up just fine.
     
    Load up the project on the test server.  Loaded the Simple-upload.aspx demo page and it shows just fine.
     
    Click the 'Upload File' button and the button greys out but nothing happens.  No error, no file pick list, nothing.  no javascript errors or asp.net errors just a disabled 'Upload Files' box.
     
    I'm running quite a few other projects on the test server with no problem.
     
    No idea whats going on here.. anyone have a clue?  We're looking to buy the enterprise version but need to get this going.  I completely understand everything that's going on in the project.. it's not rocket science. 
     
    Thanks for any help!

    John
     
     
     
     
     
     
     
  •  05-01-2009, 1:08 PM 51741 in reply to 51739

    Re: disabled upload file button on demo


    Ok, i figured out the setting that's causing this but i need someone to help me understand why.
     
    the upload type was set to Auto.  If i change this to Flash it works on the server.  If i change this to iFrame it works on the server but only allows a single file upload even though the demo is set for multi-file upload.  If i set this to silverlight the button disables and does nothing.  If i run the project locally with auto or silverlight it works just fine.  push it to the server using auto or silverlight the button disables and does not show the file prompt.
     
    Can anyone explain what's going on here with the silverlight implementation?  The usefullness of this control to our organization is it's flexability to use silverlight or flash on the fly (via auto).
     
    Help?
     
    Thanks
    john
     
     
  •  05-01-2009, 4:03 PM 51753 in reply to 51741

    Re: disabled upload file button on demo

    john,
     
    I think it's not a server issue. Most likely it's client side issue.
     
    When you testing local and server, are you using the same browser?
     
    Are you using AjaxUploader version 3.0?
     
    Which version of .NET framework are you running on the server?
     
    Can you try the following example and get back to me?
     
     
    1. If Ajax Uploader detects SilverLight is installed on your PC, It will use the SilverLight solution.
     
    2. If Ajax Uploader detects Flash is installed on your PC, It will use the Flash solution.
     
    3. If Ajax Uploader detects Iframe is supported on your Browser, It will use the Iframe solution.
     
    4. For downlevel browsers, Ajax Uploader will render as default ASP.NET upload control.
     
    Hope it helps.

    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

  •  05-05-2009, 2:27 PM 51843 in reply to 51741

    Re: disabled upload file button on demo

    John,
     
    Now I guess that is an proxy/firewall issue.
     
    Because for the silverlight XAP file, our server code do not provide header 'Content-Type' for it,
     
    And the firewall may not allow the XAP to be downloaded , so the button keep disabled and waiting silverlight load.
     
    We have add 'Content-Type' for it. Please try again.
     
    Regards,
    Terry
View as RSS news feed in XML