Cita: pero no hallo como mandarle el parametro strCodReferencial, que indica si se presiono o no algun check box.
Puedes hacerlo todo del lado de javascript
:
Le cargas el atributo onclick a tu boton para hacer la validación
Cita: ibnAprobar.Attributes.Add("onclick", "return checkConfirm();")
Y en el lado HTML haces la funcion, (tomando en cuenta que tienes un checkbox llamado chkNoAprobarValidez)
Y quedaría:
Cita: <html>
<head>
<script language="Javascript">
function checkConfirm()
{
var chk = document.getElementById('chkNoAprobarValidez');
if (chk.checked) {
if (confirm("Deseas invalidar el(los) referencial(es) Selecionado(s)?"))
return true;
else
return false }
else {
if (confirm("Deseas aprobar la validez de ofertas?"))
return true;
else
return false }
}
</SCRIPT>
</head>
<body>
...
..
Y listo,
Espero te funcione...