I copied an existing Document Type. All ok. Assigned structure, allowed child nodes so I can create document with new document type under old document type. Tried to create a new document based on the new/copied document type. I get this error:
Multiple controls with the same ID 'headline' were found. FindControl requires that controls have unique IDs.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Multiple controls with the same ID 'headline' were found. FindControl requires that controls have unique IDs.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
I just figured it out.. seems to be a bug... I have a master document type with several properties. I have a content document type that inherits from master with none of it's own properties. I make a copy of the content document type. The resulting copy how has all of the properties of the master! It did not make an exact copy. Instead it made a copy of the source document type along with every document type it inherits from.
Multiple controls with the same ID ...
I copied an existing Document Type. All ok. Assigned structure, allowed child nodes so I can create document with new document type under old document type. Tried to create a new document based on the new/copied document type. I get this error:
Multiple controls with the same ID 'headline' were found. FindControl requires that controls have unique IDs.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Multiple controls with the same ID 'headline' were found. FindControl requires that controls have unique IDs.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
I just figured it out.. seems to be a bug... I have a master document type with several properties. I have a content document type that inherits from master with none of it's own properties. I make a copy of the content document type. The resulting copy how has all of the properties of the master! It did not make an exact copy. Instead it made a copy of the source document type along with every document type it inherits from.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.