Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception the DataGrid in Runtime #4995

Open
14 tasks
ManiAkash9 opened this issue Jun 24, 2024 · 2 comments
Open
14 tasks

Exception the DataGrid in Runtime #4995

ManiAkash9 opened this issue Jun 24, 2024 · 2 comments
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior

Comments

@ManiAkash9
Copy link

Describe the bug

In Windows Community Toolkit DataGrid we are currently facing an exception when attempting to load the DataGrid component while using runtime-defined types as our data source. The

exception occurs during the loading process of the component using these types.

When debugging the provided sample project, please ensure that all the options under 'Common Language Runtime Exceptions' are enabled.
DataGridException.zip

Regression

No response

Reproducible in sample app?

  • This bug can be reproduced in the sample app.

Steps to reproduce

1. Run the provided sample

Expected behavior

System.ArgumentNullException (Value cannot be null.) will not occur.

Screenshots

image

Windows Build Number

  • Windows 10 1809 (Build 17763)
  • Windows 10 1903 (Build 18362)
  • Windows 10 1909 (Build 18363)
  • Windows 10 2004 (Build 19041)
  • Windows 10 20H2 (Build 19042)
  • Windows 10 21H1 (Build 19043)
  • Windows 11 21H2 (Build 22000)
  • Other (specify)

Other Windows Build number

No response

App minimum and target SDK version

  • Windows 10, version 1809 (Build 17763)
  • Windows 10, version 1903 (Build 18362)
  • Windows 10, version 1909 (Build 18363)
  • Windows 10, version 2004 (Build 19041)
  • Other (specify)

Other SDK version

No response

Visual Studio Version

No response

Visual Studio Build Number

No response

Device form factor

No response

Nuget packages

None

Additional context

Any suggestions, or guidance on how to address the exception encountered when using runtime-defined types with the DataGrid would be greatly appreciated.

Help us help you

Yes, I'd like to be assigned to work on this item.

@ManiAkash9 ManiAkash9 added the bug 🐛 An unexpected issue that highlights incorrect behavior label Jun 24, 2024
@Santhoshsf3897
Copy link

Any update on this?

1 similar comment
@Santhoshsf3897
Copy link

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An unexpected issue that highlights incorrect behavior
Projects
None yet
Development

No branches or pull requests

2 participants