Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
❔ [MVC/RazorPages] Why can't I access model data? - C#
C
C#
•
3y ago
•
4 replies
Messiah
❔ [MVC/RazorPages] Why can't I access model data?
If I try printing to console the form data that I
've
[BindProperty]
[BindProperty]
on the OnPost
(
) method
, it comes out empty
. Why is that
? How do I access this data
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
✅ why I can't access JsonPropertyInfo.AssociatedParameter?
C
C# / help
11mo ago
❔ [RazorPages] Any clues why this Select isn't working?
C
C# / help
3y ago
MVC model binding issues
C
C# / help
2y ago
❔ ❔ MVC - Chart - Model - NullReferenceException
C
C# / help
4y ago