jnapier wrote:
..., but Im still not sure how to find the Link to delete in the list after a postback. Usually, with a Datagrid displaying entities, you can use the entity id as the key. Having a key makes it easy to find the item. I guess Im just confused about how to get the value type if it has no key.
So, as I understand, the main problem is to find item in grid. In this case you can use CommandName and CommandArgument for grid command handling. For example you put "Delete" button into the grid with CommandName="delete" and CommandArgument="<%# bind your unique link attribute here %>". Now in your grid.ItemCommand eventhadler method (or grid.DeleteCommand) you can check eventargs (e.commandName and e.CommandArgument) for your options and here you can use serch by your CommandArgument value.
Note, than your CommandArgument can be composite, something like <DocumentId>_<LinkName>.