We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How did i to do the dataValidation for the SfTextBoxExt ?

http://

7 Replies

CC Chris Chen September 26, 2013 04:34 AM UTC

Currently my model by inheriting from System.ComponentModel.IDataErrorInfo.
When we input the invalid data,we just can see the red border around the
SfTextBoxExt ,the error message cannot show up.So please provide a sample for my reference .


thanks

Chris



CC Chris Chen September 26, 2013 04:37 AM UTC

Xaml code is as below.

<syncfusion:SfTextBoxExt Grid.Row="5" x:Name="muliple"

Watermark="Enter tags seperated by comma" SearchItemPath="Name"

AutoCompleteSource="{Binding Items}"

AutoCompleteMode="Suggest" Delimeter=","

Text="{Binding UpdateSourceTrigger=PropertyChanged, Path=QueryModel.StringTags, ValidatesOnDataErrors=true, NotifyOnValidationError=true, Mode=TwoWay}"

WatermarkTemplate="{StaticResource WatermarkTemplate}"

>

</syncfusion:SfTextBoxExt>



VV Vignesh V Syncfusion Team September 27, 2013 09:51 AM UTC

Hi Chris,

We have prepared a sample based on your requirement 'Displaying error message for SfTexboxExt'. In the sample we have edited the error template to display the error message.

Please find the sample in below link,

Please let us know if the sample meets your requirement.

Regards,
Vignesh V


VA Vasanth June 21, 2015 07:47 PM UTC

Hi,

Please make the sample link available, I get the below error:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Key>
dtsupport/directtrac/general/112504_DataValidation-2104648852.zip
</Key>
<RequestId>09C69717459E3F53</RequestId>
<HostId>
oUqTLKSAtGDuxoN0YOiccD6bIddRFuoVIS637v6QYFQP+bkjxdqbFU2HyLlrlm5A
</HostId>
</Error> 


BK Bharadhi K Syncfusion Team June 22, 2015 02:20 PM UTC

Hi Vasanth,

We have prepared a sample for the requirement "Displaying error message for SfTexboxExt". Please find the sample in the below link.

Sample: DataValidation_112504

Please let us know if you have any concerns.

Regards,
Bharadhi K


VA Vasanth June 22, 2015 07:03 PM UTC

Great, thanks!


SC Saranya CJ Syncfusion Team June 23, 2015 06:19 AM UTC

Hi Vasanth,


Thank you for your update. Please let us know if you require any other assistance.


Regards,

Saranya


Loader.
Up arrow icon