Basic misunderstandings regarding data-binding - Where to start?
Hi,
I walked through the data-binding documentation. (https://www.noesisengine.com/docs/Gui.C ... orial.html)
I have a list of game rooms I want to display inside a ListView.
But at first I only tried to copy 1:1 the DataModel3 / Player example from the "Binding to a Collection" section.
Of course I got the Noesis error "NoesisException: StaticResource 'dataModel' not found"
I can't find any explanation about this in the document and still have no clue how to get data-binding to work.
Where are the obvious mistakes?
Thanks!
I walked through the data-binding documentation. (https://www.noesisengine.com/docs/Gui.C ... orial.html)
I have a list of game rooms I want to display inside a ListView.
But at first I only tried to copy 1:1 the DataModel3 / Player example from the "Binding to a Collection" section.
Of course I got the Noesis error "NoesisException: StaticResource 'dataModel' not found"
I can't find any explanation about this in the document and still have no clue how to get data-binding to work.
Where are the obvious mistakes?
Thanks!
Re: Basic misunderstandings regarding data-binding - Where to start?
After trying it over and over again, it suddenly worked.
I have no clue why, but everything's fine now I guess.
I have no clue why, but everything's fine now I guess.
-
-
sfernandez
Site Admin
- Posts: 2056
- Joined:
Re: Basic misunderstandings regarding data-binding - Where to start?
Perhaps dataModel script was not compiled yet and xaml parser was unable to create an instance to add it as resource, then it failed to find the StaticResource.
And probably after playing everything worked as all the code got compiled.
And probably after playing everything worked as all the code got compiled.
Who is online
Users browsing this forum: No registered users and 0 guests