FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
Opening a External web page from a Webdev Table
Opening a External web page from a Webdev Table
Débuté par Ruben Sanchez, 18 jan. 2008 08:05 - 2 réponses
Connectez-vous…
Ruben Sanchez
#1
Posté le 18 janvier 2008 - 08:05
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.
Signaler
0
0
Dean
#2
Posté le 18 janvier 2008 - 09:28
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
Signaler
0
0
Rubén Sánchez Peña
#3
Posté le 18 janvier 2008 - 14:20
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
Signaler
0
0
→ Revenir à WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte