I have an UltraWebGrid whose first column consists of buttons while the rest consists some data value I need to know if I click in one of the buttons, what properties of the UltraWebGrid would enable me to obtain the following information:
1) The row number of a cell which is clicked.
2) The value of the second column on that row.
Thanks
It should be in
- cell.Row.Index
- cell.Row.Cells[1].Value;
but I don't know why it depends from where you are trying to get it and in what event:
is it a javascript function, is it a server side, is in an event of the button ... ???
1) Does UltraWebGrid.ActiveRow.Index not give you what you need?
2) UltraWebGrid.ActiveRow.Cells[1].Value