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
45
Binding xamTextEditor Seems to Override IsReadOnly
posted

I am using Infragistics for WPF 9.1 (Latest SR (June 22, 2009).  I am using the xamTextEditor, not in the xamDataGrid, just within a regular Grid for data entry purposes as follows:

<igEditor:XamTextEditor  Name="txtUserId" IsReadOnly="True" Value="{Binding Path=UserId}"></igEditor:XamTextEditor>

However, I am able to edit the value in the xamTextEditor.  If I remove the binding as follows:

<igEditor:XamTextEditor  Name="txtUserId" IsReadOnly="True" Value="123}"></igEditor:XamTextEditor>

then the xamTextEditor does not allow me to edit the value.  This is what I would expect.  Is there a reason that Binding the value would set IsReadOnly=False?

I am binding to a CSLADataSource, which is a lot like the ObjectDataSource.  Any help would be grealy appreciated.

Ben