Hi
I am looking to add a dynamic controls to a List collection class and use those controls dataa.
Could you please let me know how should i do it.
Thanks
Subhash
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit ChoudharyPosted Jan 30, 2013, 8:26 AM
Adding to list:
List
controlsCol.Add(new TextBox());
Retrieving from list:
var tbCtl = controlsCol[index] as TextBox;
if(tbCtl != null)
tbCtl.Text = "Foo";