Last Updated: 06 Apr 2016 15:29 by ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 07 Jan 2015 14:07
Category: UI Framework
Type: Bug Report
FIX. RadControl - having a RadControl on a form, breaks the simple data binding introduced to standard controls at design time
To reproduce: 
1. Use the following code snippet:
public class ViewModel:INotifyPropertyChanged
    public ViewModel()

    private bool _isShown;

    public bool IsShown
            return this._isShown;
            this._isShown = value;

    public event PropertyChangedEventHandler PropertyChanged;

    protected void OnPropertyChanged(string propertyName)
        PropertyChangedEventHandler handler = PropertyChanged;
        if (handler != null)
            handler(this, new PropertyChangedEventArgs(propertyName));

2. Add a MS Panel and a RadPanel to the form.
3. Add Panel.DataBindings at design time for its Visible property to the ViewModel.IsShown property.
4. When you run the application, the MS Panel is not visible. However, if you remove the RadPanel it is shown. Please refer to the attached sample video illustrtaing better the performed steps.

Attached Files:
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)