Validation in RadGridView after SubmitChanges

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

    Posted 22 Feb 2012 Link to this post

    Hi,

    I use a RadGridView and RadDomainDatasource together and to submit changes in RadGridView I have a RadButton with a SubmitChangesCommand.
    When I edit a cell and then lost focus the validation process is executing. My question is how do I do to run this validation process only after clicking the SubmitChangesCommand Button.

    Thanks for the help

    <telerik:RadDomainDataSource
      Name="ddsPeople"
      x:Key="resPeople"
      QueryName="GetPeopleQuery"
      LoadingData="ddsPeople_LoadingData" />

    <telerik:RadGridView
      Name="gdPeople"
      AutoGenerateColumns="True"
      Grid.Row="0" Grid.Column="0"
      ValidatesOnDataErrors="None"   
      ItemsSource="{Binding DataView, Source={StaticResource resPeople}}"
      RowIndicatorVisibility="Collapsed"
      IsBusy="{Binding IsBusy, ElementName=ddsPeople}" />
  2. GG
    GG avatar
    5 posts
    Member since:
    Feb 2012

    Posted 27 Feb 2012 Link to this post

    I have edited my post to be more accurate
Back to Top