PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WEBDEV 2024 → Ajax function and not ajax function in the same button
Ajax function and not ajax function in the same button
Iniciado por Giovanni Galimberti, jun., 04 2008 12:11 PM - Sem resposta
Publicado em junho, 04 2008 - 12:11 PM
Hi everyone,
I need to execute this code with a click

FileDisplay("c:\test.txt","application/unknow","test.txt")
TableAddLine(TBL_FD,"File displayed")

The table TBL_FD is a table ajax mode, the problem is that WebDev can't execute FileDisplay and TableAddLine on the same click on the button, because FileDisplay can't be used with ajax, and ajax is enabled on the button to add the new line on the table TBL_FD.
How can I solve this problem?
Thank you