CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> CodeCharge Studio -> Java

 javascript Open window using a parameter

Print topic Send  topic

Author Message

Posts: 4
Posted: 07/23/2008, 7:12 AM

hello, I have one grid that load data from the database, inside the grid there is a link in the first column, I want to open a window when link is clicked sending a parameter...

The database table name is 'AFILIADO' and I want to send the primary key value 'AFILIADO__CODIGO'

here is the code:


<Link name="lnkPreAnex" dataType="Text"
controlSourceType="DataSource" controlSource="AFILIADO__CODIGO"
hrefType="Page" hrefSource="javascript:preexistencia('THE PARAMETER')" convertRule="Relative"
format="" dbFormat="" isHtml="False" preserveParams="GET">


function preexistencia(codigo) {"PreexistenciasAnexos.jsp?cod="+codigo,"","scrollbars=yes,toolbar=no");

help please...
La grandeza no se improvisa...
View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

Web Database

Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.