I have several pop ups in my app that all have the same general layout but with different content. They all have a title at the top and a button on the button with the content in between. The title and button are always styled the same way. The button
always closes the popup. Ideally, I would be able to create some kind of control that would allow me to do something like this:
<SpecialPopup Title="Some Title">
<CheckBox>a check box</CheckBox>
And the resulting popup would have the header and button with the content I specified between them. Since this popup is used in lots of places, I want something that reuses as much code as possible and doesn't require a lot of boiler plate markup every
time you use it. I've tried various approaches to solving this problem, but I can't come up with something that works and is easy to use like the above code.
View Complete Post