Home Forums WPF controls Xceed DataGrid for WPF The AddingNewDataItem event did not return a new data item.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #24714 |

    “The AddingNewDataItem event did not return a new data item.” error message is not very helpful. It will help to diagnose more if I can check what the real cause of the problem is whether it be
    – the ItemsSource is null
    – ItemsSource doesn’t implement IBindingList, etc.

    Imported from legacy forums. Posted by nat (had 901 views)

    Xceed Support
    Member
    Post count: 5658

    This event is only raised when the grid is not bound to a data source. I will look into the exception message to make it clearer.

    Imported from legacy forums. Posted by Jenny [Xceed] (had 2708 views)

    User (Old forums)
    Member
    Post count: 23064

    I just came across this error and I agree with the original post. Is there a way you can make this error more descriptive? I spent too much time trying to diagnose it.

    Thank you,

    Mick

    Imported from legacy forums. Posted by Mick (had 686 views)

    Xceed Support
    Member
    Post count: 5658

    I have created a ticket and assigned it to the person in charge of the project. The exception will be made clearer for the next release. 

     

    Imported from legacy forums. Posted by Jenny [Xceed] (had 1030 views)

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.