1

Hey guys I have this page :

enter image description here

PS: this is temp data, so it don't look so good ;P

Now if I click on that filter button, I want a popup window or radio buttons to show in the application bar, is that even possible? Or should I try another way of doing this?

As you choose a radio button I am going to have the page filter on the choice made, so I can't leave the page to go make a choice. Any help/link/tutorial will be appreciated :)

Thanks in advance,

Working on windows phone 8/ silverlight / c# ...

1 Answer 1

1

You can't have a radio button in the app bar.

I would implement this as a separate page and update your filter when you navigate back to this page. The page instance and view model will be still in memory so it should be a matter of detecting the back navigation in OnNavigatedTo and applying your filter at that point. Sharing a ViewModel between this page and your filter page would be the best way of communicating the filter value, but that's not the only way.

2
  • thanks for the insightful reply, one more question? isnt there mayb a way i canmake that page like a type of popup using a grid with a few radiobuttons in?
    – Arrie
    Commented Nov 28, 2012 at 12:32
  • You can just use a PhoneApplicationPage and simply have a StackPanel of radio buttons in it (with a title as you choose). You could use the Popup primitive but it would actually be more work as you'd need to create a child control as well as managing position of the child control. Commented Nov 28, 2012 at 12:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.