Adding onclick even to a cell in a datagrid RRS feed

  • Question

  • Hi,

    I made a datagrid and binded sample data to it. I have a hyperlink column. I was just wondering if I could add an onclick to the column or one of the cells to change the state. Or maybe someone can suggest a different method to accomplish the same goal. Any help much appreciated.

    Thank you.
    Monday, October 19, 2009 8:07 PM

All replies

  • Did you try to add the Event to the definition on the cell e.g. a Textblock if you bind a Text.
    For that you have to edit the UserControl-Template.

    Tuesday, October 20, 2009 5:46 AM