Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
XamComboEditor Suppress validator message
posted

Hi everyone !

I'm working with a XamComboEditor  and it show a validation message in a red tooltip.

Do you know how to avoid this message?

 <ig:XamComboEditor Margin="4,4,4,0" Grid.Column="1" Grid.ColumnSpan="3" Grid.Row="4" 
     SelectedValue="{ed:BindingEx CustomerUId, Mandatory=And, Mode=TwoWay}" 
     ItemsSource="{Binding Source={StaticResource CurrentCustomers}}" 
     DisplayMemberPath="Name" Validation.Error="false"
     SelectedValuePath="Value">

     <ig:XamComboEditor.ItemFilters>
         <ig:ComboItemFilter LogicalOperator="And">
             <ig:ComparisonCondition Operator="Contains" />
         </ig:ComboItemFilter>
     </ig:XamComboEditor.ItemFilters>
 </ig:XamComboEditor>

Parents
  • 7555
    Offline posted

    Hello

    Thank you for the post. Normally this red error box comes from the IDataErrorInfo , so are you using it to propagate error text to the UI ? At my end when I simply binding the combo with the data ,there is no error box, so look into your code and remove the code related to INotifyDataErrorInfo if you don’t want that, and simply bind the combo with the datacontext. Attached my sample for the reference.

    2287.WpfApp6.zip

Reply Children