Multiple controls with the same ID '_ctl24' were found. Trace requires that controls have unique IDs

Discussion in 'ASP .Net' started by Jeff Tolman, Nov 4, 2003.

  1. Jeff Tolman

    Jeff Tolman Guest

    Hi!

    I keep getting this error, but I'm not sure why. When I turn off the trace
    flag, I only get it at certain times. Even with the trace flag set to true,
    I don't understand the output diagnostics. It shows a list of the controls
    on the page (or is this a partial list?) and I don't see where it has found
    multiple controls with IDs of '_ctl24'. Here is my list of controls. Any
    help or suggestions are MUCH appreciated!

    Thanks!

    Jeff Tolman

    Control Tree
    Control Id Type Render Size Bytes (including children) Viewstate Size
    Bytes (excluding children)
    __PAGE ASP.AuditReport_aspx 0 0
    _ctl24 System.Web.UI.ResourceBasedLiteralControl 0 0
    Form1 System.Web.UI.HtmlControls.HtmlForm 0 0
    _ctl25 System.Web.UI.LiteralControl 0 0
    CompanyLogo1 ASP.CompanyLogo_ascx 0 0
    CompanyLogo1:imgLogo System.Web.UI.HtmlControls.HtmlImage
    0 48
    CompanyLogo1:_ctl0 System.Web.UI.LiteralControl 0 0
    _ctl26 System.Web.UI.LiteralControl 0 0
    PageHeader1 ASP.PageHeader_ascx 0 0
    PageHeader1:_ctl0 System.Web.UI.LiteralControl 0 0
    PageHeader1:lblCompany System.Web.UI.WebControls.Label 0
    32
    PageHeader1:_ctl1 System.Web.UI.LiteralControl 0 0
    PageHeader1:ValidationSummary1
    System.Web.UI.WebControls.ValidationSummary 0 0
    PageHeader1:_ctl2 System.Web.UI.LiteralControl 0 0
    _ctl27 System.Web.UI.LiteralControl 0 0
    NavigationMenu1 ASP.NavigationMenu_ascx 0 0
    NavigationMenu1:_ctl0 System.Web.UI.LiteralControl 0 0
    NavigationMenu1:panel1 System.Web.UI.WebControls.Panel 0 0
    NavigationMenu1:_ctl1 System.Web.UI.LiteralControl 0 0
    NavigationMenu1:lblCurUser
    System.Web.UI.WebControls.Label 0 44
    NavigationMenu1:_ctl2 System.Web.UI.LiteralControl 0 0
    NavigationMenu1:hlHelp System.Web.UI.WebControls.HyperLink
    0 40
    NavigationMenu1:_ctl3 System.Web.UI.LiteralControl 0 0
    NavigationMenu1:Hyperlink1
    System.Web.UI.WebControls.HyperLink 0 0
    NavigationMenu1:_ctl4 System.Web.UI.LiteralControl 0 0
    NavigationMenu1:hlSearch
    System.Web.UI.WebControls.HyperLink 0 0
    NavigationMenu1:_ctl5 System.Web.UI.LiteralControl 0 0
    NavigationMenu1:hlChangeRequest
    System.Web.UI.WebControls.HyperLink 0 0
    NavigationMenu1:_ctl6 System.Web.UI.LiteralControl 0 0
    NavigationMenu1:lbtnAddDoc
    System.Web.UI.WebControls.LinkButton 0 0
    NavigationMenu1:_ctl7 System.Web.UI.LiteralControl 0 0
    NavigationMenu1:hlAuditReport
    System.Web.UI.WebControls.HyperLink 0 0
    NavigationMenu1:_ctl8 System.Web.UI.LiteralControl 0 0
    NavigationMenu1:pnlAdmin System.Web.UI.WebControls.Panel 0
    36
    NavigationMenu1:_ctl9 System.Web.UI.LiteralControl 0 0
    NavigationMenu1:hlDocCategories
    System.Web.UI.WebControls.HyperLink 0 0
    NavigationMenu1:_ctl10 System.Web.UI.LiteralControl 0
    0
    NavigationMenu1:hlDynFields
    System.Web.UI.WebControls.HyperLink 0 0
    NavigationMenu1:_ctl11 System.Web.UI.LiteralControl 0
    0
    NavigationMenu1:hlDocMgmt
    System.Web.UI.WebControls.HyperLink 0 0
    NavigationMenu1:_ctl12 System.Web.UI.LiteralControl 0
    0
    NavigationMenu1:hlUsers
    System.Web.UI.WebControls.HyperLink 0 0
    NavigationMenu1:_ctl13 System.Web.UI.LiteralControl 0
    0
    NavigationMenu1:_ctl14 System.Web.UI.LiteralControl 0 0
    _ctl28 System.Web.UI.LiteralControl 0 0
    formtable System.Web.UI.HtmlControls.HtmlTable 0 0
    _ctl0 System.Web.UI.HtmlControls.HtmlTableRow 0 0
    _ctl1 System.Web.UI.HtmlControls.HtmlTableCell 0 0
    Panel4 System.Web.UI.WebControls.Panel 0 0
    _ctl29 System.Web.UI.LiteralControl 0 0
    _ctl2 System.Web.UI.HtmlControls.HtmlTableRow 0 0
    _ctl3 System.Web.UI.HtmlControls.HtmlTableCell 0 0
    dynFieldsHTML
    System.Web.UI.WebControls.PlaceHolder 0 0
     
    Jeff Tolman, Nov 4, 2003
    #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. Anders Borum
    Replies:
    2
    Views:
    2,545
    Anders Borum
    Nov 26, 2003
  2. Tarren
    Replies:
    0
    Views:
    349
    Tarren
    Jan 14, 2005
  3. SouthSpawn
    Replies:
    1
    Views:
    3,145
    Scott Allen
    Apr 22, 2005
  4. Elton W
    Replies:
    0
    Views:
    169
    Elton W
    Apr 21, 2005
  5. vibs
    Replies:
    5
    Views:
    624
    Keith Patrick
    Jan 21, 2006
Loading...

Share This Page