PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WEBDEV 2024 → Opening a External web page from a Webdev Table
Opening a External web page from a Webdev Table
Iniciado por Ruben Sanchez, jan., 18 2008 8:05 AM - 2 respostas
Publicado em janeiro, 18 2008 - 8:05 AM
Hi. I have a data Table with product data: Name and Url of manufacturer.

In a Webdeb page i am include a Table control to list the data.

How can i open the web page of manufacturer located in my data table when y clic to select a control Table row?

How can i pass the Url?

I am using the AJAX version of control Table.

Thanks.
Publicado em janeiro, 18 2008 - 9:28 AM
Create page global variable gsDestinationURL string
Create local procedure lprRetrievePage with ajax enabled with following code:
--
gsDestinationURL=TBL_table.url[TBL_table..Value]..Value //Gets url from table column
result gsDestinationURL //returns url to calling procedure
--
In table browser clik procedure write following:
lsDstURL is string //Local var for url
lsDstURL=AJAXExecute(lprRetrievePage) //Call to lprRetrievePage to read url


FileDisplay(lsDstURL,NewBrowser,"URL Selected") // Opens url in new window
Publicado em janeiro, 18 2008 - 2:20 PM
Wooow, thank you very much. It works very, very fine :)

Ruben Sanchez Peña


"Dean" <dejan.rogic@vz.t-com.hr> escribió en el mensaje de noticias
news:47904e34$1@news.pcsoft.fr...


Create page global variable gsDestinationURL string
Create local procedure lprRetrievePage with ajax enabled with following
code:
--
gsDestinationURL=TBL_table.url[TBL_table..Value]..Value //Gets url from
table column
result gsDestinationURL //returns url to calling procedure
--
In table browser clik procedure write following:
lsDstURL is string //Local var for url
lsDstURL=AJAXExecute(lprRetrievePage) //Call to lprRetrievePage to
read url


FileDisplay(lsDstURL,NewBrowser,"URL Selected") // Opens url in new window