|
PROFESSIONAL NEWSGROUPS WINDEV, WEBDEV and WINDEV Mobile |
| | | | | |
Opening a External web page from a Webdev Table |
Started by rsanchez, Jan., 18 2008 8:05 AM - 2 replies |
| |
| | | |
|
| |
Posted on January, 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. |
| |
| |
| | | |
|
| | |
| |
Posted on January, 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 |
| |
| |
| | | |
|
| | |
| |
Posted on January, 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
|
| |
| |
| | | |
|
| | | | |
| | |
| | |
| |
|
|
|