This is a migrated thread and some comments may be shown as answers.

AddNewItem Issue

1 Answer 59 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Balaji
Top achievements
Rank 1
Balaji asked on 14 Sep 2011, 12:58 PM
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.


1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 19 Sep 2011, 04:07 PM
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 >>
Tags
DataForm
Asked by
Balaji
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or