Accessing User Control inside Datagrid

M

mirlisa

I've created a simple user control (dynamically populated dropdown list
via database) and dynamically added it to a datagrid. There are 9
instances of this control in the datagrid.

My problem is accessing the control itself. I need to be able to loop
through all nine to get the selected values.

When I dynamically create the control, I give it a unique id, but I
notice that when I view source the id is totally different from the id
I gave it.

So the question is: how do I access a user control dynamically added to
a datagrid? Any help is appreciated.

Thanks.
Mirlisa
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,888
Messages
2,569,964
Members
46,294
Latest member
HollieYork

Latest Threads

Top