Accessing User Control inside Datagrid

Discussion in 'ASP .Net Building Controls' started by mirlisa, Jul 1, 2005.

  1. mirlisa

    mirlisa Guest

    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
     
    mirlisa, Jul 1, 2005
    #1
    1. Advertising

  2. mirlisa

    Matt Guest

    Matt, Jul 4, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. vatech1993
    Replies:
    4
    Views:
    5,704
    =?Utf-8?B?U8Opcmdpbw==?=
    Dec 11, 2004
  2. Leeor Chernov
    Replies:
    2
    Views:
    798
    Leeor Chernov
    Oct 16, 2005
  3. Dave
    Replies:
    1
    Views:
    482
  4. Roman
    Replies:
    2
    Views:
    274
    Roman
    Jan 4, 2005
  5. Kiran More
    Replies:
    2
    Views:
    328
    Kiran More
    Nov 14, 2006
Loading...

Share This Page