Shortcuts

Row ID and GridView Adapter

I am trying to set a GridView row ID programatically, but found that with the CSS Adapters enabled this does not work. It goes fine when they're disabled. The end result is to have an ID on each row like <tr id="gvCustomers_row1">. Has anyone had this problem?

I'm using this line in the RowCreated event code-behind : e.Row.ID = e.Row.RowIndex.ToString(); . Works fine w/out adapters, and nothing happens when they're on.