c# - Silverlight: loading controls based on radioButton selection -


I am working in SL version 2.0

I have 3 radio buttons in a group and 3 User control that I want to load based on the selection of radio buttons. How can this be done? What options do I have?

I was thinking about adding user controls in the same xaml file as a radio button, and made them invisible. Then make the rear code visible to them based on the selection of the radio button.

Is this the only solution or is there a more effective way to do this?

Thanks in advance.

Depending on the size and complexity of those controls, your solution may be appropriate.

There are other methods, including dynamic loading modules. This adds significant complexity; Prism is the most important project for this, and it can be found on.

10 Things to Know About Prism:
Podcast on the Introduction to Prism:


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -