+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Multiple controls with the same ID were found. FindControl requires that controls have unique IDs.

Multiple controls with the same ID were found. FindControl requires that controls have unique IDs.

4 posts, 0 answered
  1. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    06 Jan 2012
    Link to this post
    Hi,

    I'm getting the following error when I try to navigate to the 'Responses' section of my contact form. I'm unable to view the responses. I can normally open and edit the Form.

    Multiple controls with the same ID 'C009' were found. FindControl requires that controls have unique IDs.

    What to do?

    Regards,
    Daniel
  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    19 Sep 2016
    11 Jan 2012
    Link to this post
    Hi Daniel,

    Judging by the provided exception, it looks like somehow you ended up with two controls on your form having the same auto-generated ID. Can you please open each fo the controls in the form, and check in its advanced properties for the value of the ID property - there should be some controls that have the same value C003 - you can change it to any unique alphanumeric value, and this should fix the problems. If any issues persist, please do not hesitate to let us know, we'll be glad to help you further.

    Greetings,
    Boyan Barnev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Preetam
    Preetam avatar
    2 posts
    Registered:
    27 Aug 2011
    06 Nov 2012
    Link to this post
    Hi Boyan,
    I'm facing same error in one of my page template. I am stuck with a page template. It is inaccessible but luckily the associated pages are working fine.
    I have attached the error screen shot. Please find the attachment.

    Any help will be appreciated

    Thanks 


  4. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    19 Sep 2016
    09 Nov 2012
    Link to this post
    Hi Preetam,

    Unfortunately the stack trace indicates that the problem is a different one. Would it be possible for you to post the complete stack trace here so we can inspect it further?

    In the meantime have you tried creating another template based on this one and checking if it would work?

    Kind regards,
    Boyan Barnev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered