Multiple controls with the same ID

J

JojoStonehead

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.
 
G

George Leithead

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!
 

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,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top