I have a WebDropDown with a WebDataGrid with 3 columns (ID,Name NAd MArks).
When i select an item from the grid, how do I make surr thati get the value of "Marks" from that selecteditem?
I need to check if those marks are less than a particular value
Please help!
you can refer to the following sample:
http://es.infragistics.com/products/aspnet/sample/drop-down/templates
check out the script section, specifically:
<script type="text/javascript"> function rowSelChange(sender, args) { var dd = $find('<%= ddCustomTemplateGrid.ClientID %>'); var row = args.getSelectedRows().getItem(0).get_cell(0).get_text(); dd.set_currentValue(row, true); dd._elements["Input"].focus(); dd.closeDropDown(); } function cancelDDSel(sender, args) { args.set_cancel(true); } </script>
rowSelChange is an event in the WebDataGrid
Hope it helps. Thanks,
Angel
let me know if you need any additional help with this.
Thank you