I''m struggling to get this to work. I've gone over all the examples and I just cant get this right.
Im basically trying to click on a grid row then bring up a modal window with information relating to that row.
The information I need to fetch from the row is taken from a function called fetch_call_data(). If i fill in the post variable with a value I do get the info I expect so the function is working and if I view the row variable its correct.
What have I got wrong here ?
function Handle_OnRowSelect(sender, args) {
var _row = args["Row"];
//alert("Row is selected" + _row.getDataItem()["dst"]);
$("#responsive").modal();
panel_cdr.attachdata("dst",_row.getDataItem()["dst"]);
panel_cdr.update;
}
<?php echo KoolScripting::Start();?>
<updatepanel id="panel_cdr">
<content>
<?php fetch_call_data($_POST["dst"],$cdrs); ?>
</content>
<loading image="<?php echo $KoolControlsFolder;?>/KoolAjax/loading/5.gif"/>
</updatepanel>
<?php echo KoolScripting::End();?>
Thanks
Shaun