RadGridView validation on submit click

1 posts, 0 answers
  1. GG
    GG avatar
    5 posts
    Member since:
    Feb 2012

    Posted 08 Mar 2012 Link to this post


    I have a DomainDataSource which query my database and I have a RadGridView with ItemsSource bind to the DomainDataSource.

    The default behavior for RadGridView validation is on LostFocus each time I edit a cell and then lost focus of the cell the validation is running.

    In my case I would disable this behavior and validate only at the SubmitChanges event?

    But I don't succeed.

    I have try to set UpdateSourceTrigger=Explicit on my RadGridView but the validation process continue to execute on LostFocus.

    Any ideas? Thx

    My code is the following:

      LoadingData="ddsPeople_LoadingData" />
      Grid.Row="0" Grid.Column="0"
      ItemsSource="{Binding DataView, Source={StaticResource resPeople}}"
      IsBusy="{Binding IsBusy, ElementName=ddsPeople}">
                    <telerik:GridViewComboBoxColumn Header="Country"
                                DataMemberBinding="{Binding Country_Id}"
                                ItemsSource="{Binding DataView, Source={StaticResource resCountry}}" />
                    <telerik:GridViewComboBoxColumn Header="Order"
                                DataMemberBinding="{Binding Order_Id}"
                                ItemsSource="{Binding DataView, Source={StaticResource resOrder}}" />

Back to Top