AddNewItem Issue

2 posts, 0 answers
  1. Balaji
    Balaji avatar
    8 posts
    Member since:
    Aug 2011

    Posted 14 Sep 2011 Link to this post

    Condition:Database is Empty.
    Raddataform itemsource is binded to empty list
    When I call Raddataform.addNewitem() on click of a hyperlink button.
    uxProjectDetails.AddNewItem();
    uxProjectDetails.Visibility = Visibility.Visible;
    The above code is what I have written.
    The Raddataform is displayed but with no form as such.


  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1127 posts

    Posted 19 Sep 2011 Link to this post

    Hello Balaji,

    Please, try using ObservableCollection<T> instead of List<T> as a data source, in order to notify the RadDataForm of all the changes in its ItemsSource collection.

    Kind regards,
    Ivan Ivanov
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. DevCraft banner
Back to Top