I am using a nettiers generated EntityGridView, and I’ve added a method for OnSelectedIndexChanged. In that method, How do I get the currently selected entity from the EntityGridView?
I am using a nettiers generated EntityGridView, and I’ve added a method for OnSelectedIndexChanged.
Share
Ok.. I got it. It was stupidly simple. Maybe not the best way, but I fooled around until I got the following code that worked, using the SelectedDataKey from the GridView and the EntityProvider to retrieve the entity data.