Results 1 to 2 of 2

Thread: Download File Button

  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    2
    Vote Rating
    0
      0  

    Default Download File Button

    Hi, I have a toolbar button which has to download a file once the user clicks on it.
    Do you have any suggestions about how to do that? I can't use a FormPanel because no additional information is needed, and I can't add an hyperlink to a button with the servlet url (or maybe I don't know the way to do that if it is possible)

    Thanks in advance.

  2. #2
    Sencha User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    877
    Vote Rating
    1
      0  

    Default

    Well, you can do it 2 ways:

    1 - Open the download url in a new Window, with window.open
    2 - Set the url to a hidden iframe...

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •