I want to make a column in my RadGridView clickable, such that clicking on a cell in a particular column opens another view with details for that row. I tried adding a button to the column, but I can't get the button to show the text from the actual column. I've got my RadGridView bound to a System.Data.DataTable, and am defining the column as follows:
<
telerik:GridViewDataColumn
Header
=
"Action"
DataMemberBinding
=
"{Binding commandName}"
UniqueName
=
"actionButton"
>
<
telerik:GridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
telerik:RadButton
Content
=
"{Binding commandName}"
Click
=
"ActionClicked"
/>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellTemplate
>
</
telerik:GridViewDataColumn
>
...but the button shows up as a skinny horizontal line with no text. It shows up as expected if I hard code the button content.