wpftoolkit icon indicating copy to clipboard operation
wpftoolkit copied to clipboard

Validation Problem in RichTextBox

Open muhammad-fahd opened this issue 8 years ago • 1 comments

image

facing problem while i am trying to validate this richtextbox. this is the code behind to validate

if (propName == "ClientAddress")
                {
                    if (string.IsNullOrEmpty(this.ClientAddress))
                    {
                        result = "Adress is required";
                    }
                    else if (ClientAddress.Length > 60)
                    {
                        result = "Address should be less then 60 character";
                    }
                }

muhammad-fahd avatar Dec 22 '17 11:12 muhammad-fahd

Hi,

What is the problem ? Can you elaborate ? Thanks.

XceedBoucherS avatar Jan 08 '18 16:01 XceedBoucherS