Hi I have a RadGridView. The ItemSource is a DataView based on a DataTable. The GridView Property AutoGenerateColumns = "False".
XAML:
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn x:Name="VisitNumber" DataMemberBinding="{Binding VisitNumber}" Header="Fallnummer" Width="120"/>
<telerik:GridViewDataColumn x:Name="LastName" DataMemberBinding="{Binding LastName}" Header="Nachname" Width="200"/>
<telerik:GridViewDataColumn x:Name="FirstName" DataMemberBinding="{Binding FirstName}" Header="Vorname" Width="150"/>
</telerik:RadGridView.Columns>
How can I retrieve the values of the selected row using C # code?
XAML:
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn x:Name="VisitNumber" DataMemberBinding="{Binding VisitNumber}" Header="Fallnummer" Width="120"/>
<telerik:GridViewDataColumn x:Name="LastName" DataMemberBinding="{Binding LastName}" Header="Nachname" Width="200"/>
<telerik:GridViewDataColumn x:Name="FirstName" DataMemberBinding="{Binding FirstName}" Header="Vorname" Width="150"/>
</telerik:RadGridView.Columns>
How can I retrieve the values of the selected row using C # code?