How we can apply Binding.ValidationRules in the telerik:RadNumericUpDown control ?

2 posts, 0 answers
  1. Rahul
    Rahul avatar
    34 posts
    Member since:
    Dec 2010

    Posted 13 Apr 2011 Link to this post

    Hi,
      <><>How we can apply Binding.ValidationRules in the telerik:RadNumericUpDown control  ?
  2. Pana
    Admin
    Pana avatar
    748 posts

    Posted 18 Apr 2011 Link to this post

    Hello,

    Like any other WPF control. The validation depends on the framework for WPF so we don't do anything in our controls. Check the attached project. It defines a Binding that has ValidationRule attached. The rule is invalid if the RadNumericUpDown's Value is negative. The Binding also defines the NotifyOnValidationError="True" and ValidatesOnDataErrors="True" so that the red rectangle may appear.

    Regards,

    Pana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top