Multiple controls with the same ID

Discussion in 'ASP .Net Web Controls' started by JojoStonehead, Nov 14, 2008.

  1. I'm getting the following error:
    ......................
    Multiple controls with the same ID '_1' were found. FindControl requires
    that controls have unique IDs.
    .....................

    I get this on a postback of a page with user control which has some custom
    controls on it.

    I'm working in ASP.NET 1.1 (VS 2003)
    Any suggestions will be appriciated

    G.
    JojoStonehead, Nov 14, 2008
    #1
    1. Advertising

  2. On Nov 14, 2:42 am, JojoStonehead
    <> wrote:
    > I'm getting the following error:
    > .....................
    > Multiple controls with the same ID '_1' were found. FindControl requires
    > that controls have unique IDs.
    > ....................
    >
    > I get this on a postback of a page with user control which has some custom
    > controls on it.
    >
    > I'm working in ASP.NET 1.1 (VS 2003)
    > Any suggestions will be appriciated
    >
    > G.


    When creating the child-controls of the custom control, you need to
    add them with unique IDs. So, simply assign an ID!
    George Leithead, Nov 14, 2008
    #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. Jeff Tolman
    Replies:
    0
    Views:
    2,956
    Jeff Tolman
    Nov 4, 2003
  2. =?Utf-8?B?UHVuaXNoZXI=?=

    Need same viewstate for same page across multiple servers

    =?Utf-8?B?UHVuaXNoZXI=?=, Mar 23, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    403
    John Timney \( MVP \)
    Mar 23, 2006
  3. Replies:
    2
    Views:
    390
    =?ISO-8859-1?Q?G=F6ran_Andersson?=
    May 4, 2006
  4. Replies:
    3
    Views:
    478
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    May 16, 2006
  5. gabor
    Replies:
    19
    Views:
    1,102
    Steve Holden
    May 31, 2005
Loading...

Share This Page