My query string in the window.open is not working correctly,
but my real issue is being able to grab the first column's cell value
when someone clicks in a cell on the grid. So var SITE wouldn't be hard coded, it would get the value
on the client side to pass to the window.open..
I found an example from 2008 on the site, but I can't get it to work
even if I completly replace my code with it. Any help is appreciated.
<script type=
"text/javascript"
>
function
RowClick(sender, args)
{
var
grid = sender;
var
MasterTable = sender.get_masterTableView();
var
cellindex = args.get_domEvent().target.cellIndex
var
DOS = MasterTable.get_columns()[cellindex].get_uniqueName();
var
SITE =
"140006"
window.open(
"'Detail.aspx?1="
& DOS &
"&2="
& SITE &
"',newwindow"
,
"toolbar=no,location=no,menubar=no,width=300,height=300,resizable=no,scrollbars=no,top=200,left=250"
);
return
false
;
}
</script>