-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Fix ProjectList not displaying due to missing BindingContext update in template sample #31743
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
Conversation
|
Hey there @@Vignesh-SF3580! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
|
/azp run MAUI-UITests-public |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes a binding context issue in the .NET MAUI project template sample where the ProjectList page was not displaying data due to missing BindingContext configuration. The fix ensures that behaviors can properly access the page's binding context by explicitly referencing the named ContentPage.
- Updates XAML to add explicit BindingContext reference for EventToCommandBehavior
- Upgrades Syncfusion.Maui.Toolkit dependency to latest version
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| Pages/ProjectListPage.xaml | Adds x:Name to ContentPage and explicit BindingContext binding for EventToCommandBehavior |
| MauiApp.1.csproj | Updates Syncfusion.Maui.Toolkit package reference from version 1.0.6 to 1.0.7 |
|
/azp run MAUI-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Failing tests.. |
|
I s the new version of the toolkit just net 9? weird the error just on this PR . |
@rmarinho I have reverted the toolkit version change for now. |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/backport to release/9.0.1xx-sr12 |
|
Started backporting to release/9.0.1xx-sr12: https://github.com/dotnet/maui/actions/runs/18390153754 |
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Issue details
The project list was not displayed when navigating to ProjectList in net9 sample.
Description of change
The BindingContext of the project was not being updated. This issue is resolved by explicitly setting the BindingContext.
Fixes syncfusion/maui-toolkit#261
Screenshots