cancel
Showing results for 
Search instead for 
Did you mean: 

How to set behaviour of UIDOWNLOAD element dynamically ?

vishesh_malik
Participant
0 Kudos

Hi Experts,

I am dynamically generating File download UI element but unable to view the contents of files other than .txt format. What I think is by changing the behaviour property of File download UI maybe we can view contents properly for other formats. I don't know how to set behaviour property to 'ALLOWSAVE' dynamically. I searched in forum but nothing worked. Waiting for your responses!!!

Thanks in advance.

<< Moderator message - Everyone's problem is important. Please do not ask for help quickly. >>

Vishesh

Edited by: Vishesh@1986 on Nov 26, 2010 12:26 PM

Edited by: Rob Burbank on Nov 26, 2010 3:07 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

While downloading it assk for format dropdown right..You mean that list or default value in File Name

In the CL_WD_FILE_DOWNLOAD there is SET_BEHVAIOUR method to this you can pass these values(

01 allowSave

00 auto

02 openInplace)

Is this what you require..

Regards,

Lekha.

vishesh_malik
Participant
0 Kudos

Hi Lekha ,

Firstly , sorry for replying late . My problem is solved . I have one more doubt , can we set all the properties of UI elements ,which have dropdown help , in the same way ?

Thanks,

Vishesh

Former Member
0 Kudos

Hi,

Please be clear on your requirement..For every UI element there is a corresponding class right..there are methods to set properties of UI elements dynalically through these methods..

Regards,

Lekha.

Answers (0)