RadDataForm problem

2 posts, 0 answers
  1. Ondrej
    Ondrej avatar
    3 posts
    Member since:
    Apr 2012

    Posted 23 Aug 2012 Link to this post

    Hi I have a RadDataForm which I fill data from Grid. My problem is unabled add button when my collection is empty.Colection is below. Is there any way to solve this?

    ObservableCollection<IGridItemViewModel> items;
            public ObservableCollection<IGridItemViewModel> Items
                    return items;
                    if (items != value)
                        items = value;
                        items.CollectionChanged += items_CollectionChanged;

    Thak you for helping me
  2. Yoan
    Yoan avatar
    1128 posts

    Posted 28 Aug 2012 Link to this post

    Hi Ondrej,

      In order to resolve your issue you can use real type collection instead using interface. For your convenience I have attached a sample project that shows you how to achieve this.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top