views:

6

answers:

0

I've got a ListView object, with a GridView within it, where I'll be putting data. The list view is in SingleMode. I want it so that the user can select a row, and based upon criteria in that row, it would then bring up a popup display relevant data to the selected row.

There are 2 possible ways I envision this could happen. I could put a button somewhere in the row (at this point I don't know how, but I'm sure it can be done), so that if the user clicks on the button, then my code would determine what it needs to from that client, to bring up the popup and display the additional data.

The second way I can envision this happening is I could make one of the columns a hyperlink field, still showing the data that column has to show for that row. When the user clicks on the hyperlink, then it would bring up the same popup that I discribed for the first scenario. However, again, I don't know how to do this.

So the question is, which is the "correct" or "more common" way of doing it, and how is it done?