This is a migrated thread and some comments may be shown as answers.

Validation in RadGridView after SubmitChanges

1 Answer 81 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
GG
Top achievements
Rank 1
GG asked on 22 Feb 2012, 02:58 PM
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}" />

1 Answer, 1 is accepted

Sort by
0
GG
Top achievements
Rank 1
answered on 27 Feb 2012, 04:12 PM
I have edited my post to be more accurate
Tags
GridView
Asked by
GG
Top achievements
Rank 1
Answers by
GG
Top achievements
Rank 1
Share this question
or