Recommended

  • Silverlight.FX
    Silverlight.FX is a light-weight application framework for building RichInternet Applications with Silverlight 2.
  • Building Modular Silverlight Applications
  • Prism -  10 Things to Know
  • Securing Silverlight Application and WCF Service using ASP.Net Authentication Techniques
  • Model– View – ViewModel in Silverlight

Silverlight Hosting

Skip Navigation LinksHome / News / View News

RadioButtons in a DataTemplate in Silverlight

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Mar 13, 2009
(0 votes)

To illustrate the mechanics of Attached Behaviors, Karim Hernandez decided to implement a working RadioButtonGroup.

I was recently asked by a customer, “Why doesn’t RadioButton.GroupName work when a single RadioButton is put in a DataTemplate within an ItemsControl?” I had no answer. When I tried it out myself, lo and behold, two checked RadioButtons were staring back at me. A quick search told me that others have encountered this issue, and none had found a solution based in markup.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 1 and 3 and type the answer here: