|
Opening a External web page from a Webdev Table |
Iniciado por rsanchez, 18,ene. 2008 08:05 - 2 respuestas |
| |
| | | |
|
| |
Publicado el 18,enero 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. |
| |
| |
| | | |
|
| | |
| |
Publicado el 18,enero 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 |
| |
| |
| | | |
|
| | |
| |
Publicado el 18,enero 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
|
| |
| |
| | | |
|
| | | | |
| | |
|