Skip to Content
avatar image
Former Member

How Can I Set Behaviour to FileDownLoad UI Element

Hi all,

I have a FileDownLoad UI Element In my application in 2004.

I want to set the "behaviour " property to this element. (i.e AUTO,ALLOW_SAVE etc) . In 2004s the UI Element has that property . But I want to set in 2004 dynamically.

Plz Help Regarding this,

Thanks in advance

LakshmiNarayanaChowdary.N

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 11, 2007 at 07:56 AM

    Hi

    in your program you can give some thing like

    WDFileDownloadBehaviour.ALLOW_SAVE

    allowSave

    An Open/Save dialog box appears. The user can directly save the file locally or open it with the appropriate program.

    auto

    The behavior is predefined and depends on the MIME type of the file to be downloaded

    openInplace

    The file is opened in the appropriate application program within the current window. Which program is opened, depends on the MIME type of the file.

    Refer :tutorialwww.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0e10426-77ca-2910-7eb5-d7d8982cb83f">tutorial>

    Regards

    Abhijith YS

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi all,

      I found no such API in 2004 which supports this.

      This API is present in 2004s.. and so it supports.

      So i think it is not possible in 2004 version.

      Thanks to all

      LakshmiNarayanaChowdary.N