Hi,
In the previous version of RadGrid, I was able to assign an ID to each row of the grid using the syntax e.Item.ID where e is a GridDataItem in the ItemDataBound event of the RadGrid.
Now when I do this I notice that each row is automatically assigned a numeric ID and my ID is overwritten. I can see that the HTML produced by the grid has been reduced in size and this is one way you have done this. However, I still need to add my own identifier to the row so that when it is selected I know what has been selected - a number is not sufficient for me in this case.
I attempted to add a custom 'rowid' attribute to the row in the ItemDataBound event, which is successfully rendered on the table rows....but then I cant seem to access this in the client side code.
Can you offer any suggestions on how to solve this?
Thanks.
In the previous version of RadGrid, I was able to assign an ID to each row of the grid using the syntax e.Item.ID where e is a GridDataItem in the ItemDataBound event of the RadGrid.
Now when I do this I notice that each row is automatically assigned a numeric ID and my ID is overwritten. I can see that the HTML produced by the grid has been reduced in size and this is one way you have done this. However, I still need to add my own identifier to the row so that when it is selected I know what has been selected - a number is not sufficient for me in this case.
I attempted to add a custom 'rowid' attribute to the row in the ItemDataBound event, which is successfully rendered on the table rows....but then I cant seem to access this in the client side code.
Can you offer any suggestions on how to solve this?
Thanks.