14 Replies
Your method is called
LoadSomething
, when is it executed? on page load?
I dont see any event handlers or bindings on your radiobutton, so there is likely no reactivity going onwhen HomePage opens this page is opening
But I have to filter motorized and towed vehicles
Right. Well, the problem is that you run the
Load
method in the constructor
so when the radio button changes, that method as already run and wont run againOh
you could add an eventhandler to the radiobuttons so you can run some code when they change values
So I need this
private void rdbGemotoriseerd_Checked(object sender, RoutedEventArgs e)
{
}
thats an eventhandler for a radio button, yes
I was already trying with the eventhandlers but that makes my code to "dirty"
well, the alternative is to start using NotifyOnPropertyChange and model binding
but I think thats going to be... hard for you.
😁
Thank you for helping
welcome is you
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.