Silverlight – Is there a way to group Radiobuttons generated by ItemsControl ItemTemplate?


The problem is that the RadioButton.GroupName behavior relies on the logical tree to find a common ancestor and effectively use it for the tree That part, but Silverlight’s ItemsControl does not maintain a logical tree. This means, in your example, the Parent property of RadioButton is always null

I built a simple additional behavior to solve this The problem is here: http://www.dragonshed.org/blog/2009/03/08/radiobuttons-in-a-datatemplate-in-silverlight/


WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 4043 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.