Click here to Skip to main content
15,843,031 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
<telerik:RadGridView Name="DashList" ItemsSource="{Binding Path=Infos}" Width="600" BorderThickness="0" AutoGenerateColumns="False">
                    <telerik:RadGridView.Columns>
                            <telerik:GridViewDataColumn IsVisible="True" DataMemberBinding="{Binding FName}" Header="FirstName" Width="*" IsReadOnly="True"/>
                            <telerik:GridViewDataColumn IsVisible="True" DataMemberBinding="{Binding LName}" Header="LastName" Width="*" IsReadOnly="True"/>
                            <telerik:GridViewDataColumn IsVisible="True" DataMemberBinding="{Binding Total Mins}" Header=" Mins" Width="*" IsReadOnly="True"/>
                            <telerik:GridViewDataColumn IsVisible="True" DataMemberBinding="{Binding Status}" Header="Status" Width="*" IsReadOnly="True">

                            <telerik:GridViewDataColumn.CellTemplate>

                            </telerik:GridViewDataColumn.CellTemplate>
                        </telerik:GridViewDataColumn>
                    </telerik:RadGridView.Columns>
                </telerik:RadGridView>

This is my Xaml file...

How to select the row and getting values from selected row..
I'm using RelayCommand for select the row..

C#
public RelayCommand RowSelectionCommand { get; set; }

       private void InitializeCommands()
       {
           RowSelectionCommand = new RelayCommand(() =>
           {
               RowSelectItem();
           });
       }

How to Bind the relaycommand in xaml file for selecting row... Pls Help Me..
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900