You must Sign In to post a response.
  • Category: WPF

    Button click in radteleric grid

    I am working on wpf application,in this,i am using teleric RadGrid,
    I am using button on Rad teleric grid,when i click the button i want to find the selecteditem in xaml.cs file,
    i tried but it was coming null

    can any one reply pls

    <telerik:GridViewColumn Header="Update" HeaderCellStyle="{StaticResource style2}">

    <telerik:GridViewColumn.CellTemplate>
    <DataTemplate>

    <telerik:RadButton Name="Update" Content="Update" Click="RadButton_Click" Width="80" CommandParameter="{Binding SelectedItem,Mode=TwoWay,ElementName=dgRequisitions}"/>
    <!--CommandParameter="{Binding SelectedItem,Mode=TwoWay,ElementName=dgRequisitions}"-->
    </DataTemplate>
    </telerik:GridViewColumn.CellTemplate>
    </telerik:GridViewColumn>

    private void RadButton_Click(object sender, RoutedEventArgs e)
    {
    UpdateViewRequisitions(dgRequisitions.SelectedItem);



    }
  • #760019
    Hi

    If you need Telerik sample go to the telerik official websits. I mention given url for telerik product all examples is there.

    http://demos.telerik.com/wpf/

    http://demos.telerik.com/

    Name : Dotnet Developer-2015
    Email Id : kumaraspcode2009@gmail.com

    'Not by might nor by power, but by my Spirit,' says the LORD Almighty.


  • Sign In to post your comments