Itemtemplate requires unique control's id's

Discussion in 'ASP .Net Building Controls' started by Edwin Knoppert, Dec 11, 2006.

  1. Gridview:

    I would like to use two (or more itemtemplates) having a label named like
    Label1.

    I find it odd that FindControl() on a CELL object (RowDatabound event) can
    not distinguish the correct controls.
    It seems to use the whole row to look for a control.

    It would save time if i could use this without renumbering and preparing a
    counter to enumerate the controls from event code.

    ??
    Edwin Knoppert, Dec 11, 2006
    #1
    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. Jeff Tolman
    Replies:
    0
    Views:
    2,973
    Jeff Tolman
    Nov 4, 2003
  2. Bennett Haselton
    Replies:
    1
    Views:
    5,331
    Joe Fallon
    Sep 24, 2004
  3. SouthSpawn
    Replies:
    1
    Views:
    3,133
    Scott Allen
    Apr 22, 2005
  4. ToshiBoy
    Replies:
    6
    Views:
    844
    ToshiBoy
    Aug 12, 2008
  5. Elton W
    Replies:
    0
    Views:
    159
    Elton W
    Apr 21, 2005
Loading...

Share This Page