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
180
Exiting XamTextEditor loses value
posted

Hi 

Recently I upgraded from version 12.1 to version 13.1. I have found issues in the 13.1 version XamTextEditor Control.

The text box control is null when you hit enter key or change focus by hitting tab or clicking out.

In the xaml I have written something like

<igEditors:XamTextEditor
x:Name="txtTransactionName"

Value="{Binding Path=TransactionName, ValidatesOnDataErrors=True, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"

Validation.ErrorTemplate="{x:Null}">
</igEditors:XamTextEditor>

and I have the TransactionName property created as follows

public string TransactionName
{
get { return this.TransactionName; }
set
{
if (value != this.TransactionName)
{
this.Instance.TransactionName = value;
this.OnPropertyChanged("TransactionName");
}
}
}

I noticed that when I exit the field the setter is called again with value null which clears out whatever you typed in the box and validation fails. 

This was never a problem before. 

Looking forward to hear from you.

Thank you.

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello Tamalika,

     

    Thank you for your post. I have been looking into it and I created a sample project for you following your scenario and everything seems to work ok on my side. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.

     

    Looking forward for your reply.

Children