Newbie : web page and download functionality

forum.centura.web.developer (1998-2005) & forum.td.web (2005-2010)
Marc Mendez

Newbie : web page and download functionality

Post by Marc Mendez » 19 Jul 2007, 08:50

 Posted by:  Marc Mendez 

Hi,

I'm looking for a source code :

A simple button on a web page. When I click the button, the "Save To" dialog
box of my browser appears to store localy on my computer a file sent by the
web app manager.

Can u help me ?

Yannick Fenner

Newbie : web page and download functionality

Post by Yannick Fenner » 23 Jul 2007, 08:20

 Posted by:  Yannick Fenner 

On SAM_Click
Call frmFirstForm.PassControlByName( 'frmSecondForm' )

On the second form:
Function: GetAdditionalHeader
Description: Overridden is order to emit the WebAlert message, if any.
Feel free to
override this function if you are not using this message mechanism.
Returns
Parameters
Receive String: sAdditionalHeader
Static Variables
Local variables
Actions
If NOT bError
Set sAdditionalHeader = sAdditionalHeader || '
'

Should do fine.

YF.

Return to “td.web”

Who is online

Users browsing this forum: [Ccbot] and 0 guests