Home Forums WPF controls Xceed DataGrid for WPF V1.3 Exception when using DataGridControl.Items.Add()

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

    I’m getting a NullReferenceException from SetTitleBarContentBinding when adding items via Items.Add() (works fine when using ItemsSource). The problem seems to be that SetTitleBarContentBinding assumes that ItemsSourceFieldDescriptors is valid which it isn’t when adding items via the Items collection.

    Setting DisplayMemberBinding on the MainColumn defers the problem to DataCell.SetupDisplayMemberBinding. The workaround is to set DisplayMemberBinding on all columns.

    Michael

    Imported from legacy forums. Posted by Michael (had 3451 views)

    Xceed Support
    Member
    Post count: 5658

    Hi Michael,

    Thank you for bringing this to our attention. I have added a bug report for this issue.

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

    User (Old forums)
    Member
    Post count: 23064

    How about this problem? Has it been fixed in the upcoming service release too? I ran into the same problem as well.

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

    Xceed Support
    Member
    Post count: 5658

    Yes, this bug will be fixed in the upcoming service release.

    Imported from legacy forums. Posted by Chris [Xceed] (had 359 views)

    Xceed Support
    Member
    Post count: 5658

    The fix for this issue is now available through our <a href=”http://download3.xceedsoft.com/Packages/3.2.7570.10530/XceedComponents.exe”>latest package</a>.

    Imported from legacy forums. Posted by CharlesB (had 4487 views)

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