Hi!
Well so far i only used RADGrid to edit simple tables (auto generated radgrid). But now i got a table of links that has a fileld "sort" of type "int" in it which tells the order of how i want to display this links on my frontend.
So instead of having a databound column to that field (which would make user type the sort number to each record), i created a templated column with a "move up" and "move down" linkbuttons. I set the property "commandName" to "moveUp", "moveDown" and hooked onto "OnItemCommand" event of RadGrid
Now my question is, how can ni get reference on the grid row (to get id-key of my tabel) on which the linkbutton was clicked?
re,
Žiga
Well so far i only used RADGrid to edit simple tables (auto generated radgrid). But now i got a table of links that has a fileld "sort" of type "int" in it which tells the order of how i want to display this links on my frontend.
So instead of having a databound column to that field (which would make user type the sort number to each record), i created a templated column with a "move up" and "move down" linkbuttons. I set the property "commandName" to "moveUp", "moveDown" and hooked onto "OnItemCommand" event of RadGrid
Now my question is, how can ni get reference on the grid row (to get id-key of my tabel) on which the linkbutton was clicked?
re,
Žiga