ASP.NET web control with the same ID

Posted by user370401 on Stack Overflow See other posts from Stack Overflow or by user370401
Published on 2010-06-18T14:56:12Z Indexed on 2010/06/18 15:03 UTC
Read the original article Hit count: 278

Filed under:
|
|

On an ASP.NET page, if the ASP.NET elements like <asp:Texbox ID="Textbox1"> appears in more than one place, are they the same Textbox object or are they different objects with the same name "Textbox1"? If the same, "why won't it cause any conflicts?"

E.G. runat="server" Text='<%# Bind("Name") %>'> runat="server" Text='<%# Bind("Name") %>'>
'>

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET