GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
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
Conecte-se…
Ruben Sanchez
#1
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.
Denunciar
0
0
Dean
#2
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
Denunciar
0
0
Rubén Sánchez Peña
#3
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
Denunciar
0
0
→ Voltar para WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto