On my page, I link all edit controls to labels via binding the labels' Target properties to their respective edit controls. This is similar to what a dataforn does but in my case I am doing it explicitly without a dataform. This link shows and example of the model I have followed:
http://www.c-sharpcorner.com/UploadFile/dpatra/DataInputControlsInSilverlight3Application07232009142920PM/DataInputControlsInSilverlight3Application.aspx
I also control the state of the edit controls through binding to a viewmodel in a MVVM pattern. And have bindings to IsEnabled and IsReadOnly to name a few.
The problem I am experiencing is that when I bind the IsReadOnly property of the RadDatePicker to the ReadOnly property of my Model, the datainput Label displays "ReadOnly" instead of "Date of Birth" (for example). If the IsReadOnly binding is not present the expected correct output occurs.
Please help.
http://www.c-sharpcorner.com/UploadFile/dpatra/DataInputControlsInSilverlight3Application07232009142920PM/DataInputControlsInSilverlight3Application.aspx
I also control the state of the edit controls through binding to a viewmodel in a MVVM pattern. And have bindings to IsEnabled and IsReadOnly to name a few.
The problem I am experiencing is that when I bind the IsReadOnly property of the RadDatePicker to the ReadOnly property of my Model, the datainput Label displays "ReadOnly" instead of "Date of Birth" (for example). If the IsReadOnly binding is not present the expected correct output occurs.
Please help.