How to read dynamical added check box?
Posted
by Manoj
on Stack Overflow
See other posts from Stack Overflow
or by Manoj
Published on 2010-04-18T05:56:41Z
Indexed on
2010/04/18
6:03 UTC
Read the original article
Hit count: 407
Hi, I am adding checkboxes dynamically to silverlight stackpanel object as follows:
foreach (String userName in e.Result)
{
CheckBox ch = new CheckBox();
ch.Name = userName;
ch.Content = userName;
ContentStackPanel.Children.Add(ch);
}
How do I read back those controls to detect which of them are checked.
© Stack Overflow or respective owner