Skip to content

Conversation

@Vignesh-SF3580
Copy link
Contributor

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

Before Issue Fix After Issue Fix
image image

@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Sep 24, 2025
@dotnet-policy-service
Copy link
Contributor

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.

@dotnet-policy-service dotnet-policy-service bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Sep 24, 2025
@jsuarezruiz
Copy link
Contributor

/azp run MAUI-UITests-public

@azure-pipelines
Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@Vignesh-SF3580 Vignesh-SF3580 marked this pull request as ready for review September 24, 2025 06:02
Copilot AI review requested due to automatic review settings September 24, 2025 06:02
Copy link
Contributor

Copilot AI left a 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

@sheiksyedm sheiksyedm added the area-templates Project templates, Item Templates for Blazor and MAUI label Sep 24, 2025
jsuarezruiz
jsuarezruiz previously approved these changes Sep 24, 2025
@jfversluis
Copy link
Member

jfversluis commented Sep 24, 2025

/azp run MAUI-public

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rmarinho
Copy link
Member

Failing tests..

Build FAILED.
/Users/builder/azdo/_work/_temp/test-dir/packages/microsoft.maui.core/9.0.120-ci.main.25474.3/buildTransitive/Microsoft.Maui.Core.After.targets(30,5): error MA003: The current .NET MAUI package version '9.0.120-ci.main.25474.3' requires the .NET MAUI workload version to be at least '9.0.0'. The current .NET MAUI workload version is '8.0.100'. [/Users/builder/azdo/_work/_temp/test-dir/InstallPackages694445535/InstallPackages694445535.csproj::TargetFramework=net8.0-maccatalyst]
/Users/builder/azdo/_work/_temp/test-dir/packages/microsoft.maui.core/9.0.120-ci.main.25474.3/buildTransitive/Microsoft.Maui.Core.After.targets(30,5): error MA003: The current .NET MAUI package version '9.0.120-ci.main.25474.3' requires the .NET MAUI workload version to be at least '9.0.0'. The current .NET MAUI workload version is '8.0.100'. [/Users/builder/azdo/_work/_temp/test-dir/InstallPackages694445535/InstallPackages694445535.csproj::TargetFramework=net8.0-ios]
/Users/builder/azdo/_work/_temp/test-dir/packages/microsoft.maui.core/9.0.120-ci.main.25474.3/buildTransitive/Microsoft.Maui.Core.After.targets(30,5): error MA003: The current .NET MAUI package version '9.0.120-ci.main.25474.3' requires the .NET MAUI workload version to be at least '9.0.0'. The current .NET MAUI workload version is '8.0.100'. [/Users/builder/azdo/_work/_temp/test-dir/InstallPackages694445535/InstallPackages694445535.csproj::TargetFramework=net8.0-android]
    0 Warning(s)
    3 Error(s)

@rmarinho
Copy link
Member

I s the new version of the toolkit just net 9? weird the error just on this PR .

@Vignesh-SF3580
Copy link
Contributor Author

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
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PureWeen
Copy link
Member

PureWeen commented Oct 9, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@PureWeen
Copy link
Member

PureWeen commented Oct 9, 2025

/backport to release/9.0.1xx-sr12

@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2025

Started backporting to release/9.0.1xx-sr12: https://github.com/dotnet/maui/actions/runs/18390153754

@PureWeen PureWeen added this to the .NET 9 SR12 milestone Oct 9, 2025
@PureWeen PureWeen merged commit 37aef27 into dotnet:main Oct 10, 2025
19 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in MAUI SDK Ongoing Oct 10, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Nov 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-templates Project templates, Item Templates for Blazor and MAUI community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

maui use sample template,but doesn't show data

6 participants