Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Download file in the smartGWT

    Hi All,

    How we can have download file when we click a button to download file...?

    Please help me out.. :)
    Thanks in advance...!

    #2
    Try searching the forum.

    Sanjiv

    Comment


      #3
      Download file from server function as following:

      DownloadFile(key)
      {
      Window.open(GWT.getModuleBaseUrl() + "service/fatchfile.rpc?key="+ key, "_self", "");
      }

      when i click on download button, button will execute the DownloadFile function, the IE broswer will popup security permission message on top of broswer "To help protect your security......... Click here for options...".
      When click on option "download file", the IE will refresh load to first page not the download page.
      Question: How can prevent the security permission popup in IE broswer?
      Thanks for help..

      Regards,
      Almond
      Last edited by almond; 11 Nov 2009, 18:20.

      Comment

      Working...
      X