FIX: Multiple SingleImagePlaceholder Controls with Same PlaceholdertoBind Property Cause Error (330820)



The information in this article applies to:

  • Microsoft Content Management Server 2002

This article was previously published under Q330820

SYMPTOMS

When you to use a template where more than one SingleImagePlaceholder control is bound to the same placeholder definition on the template, you receive the following error message:
Multiple SingleImagePlaceholderControls cannot bind to the same placeholder when authoring. The "<PlaceholderDefinition_Name>" placeholder is bound more than once on this page.

RESOLUTION

To resolve this problem, do either of the following:
  • Do not bind more than one placeholder control to a single placeholder definition.
  • Create separate placeholder definitions for each placeholder control.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce the Behavior

  1. Create a template with two single image placeholder controls.
  2. Create a placeholder definition for a single image placeholder control.
  3. Set the BindToPlaceholder property of the two single image placeholder controls to the same image placeholder definition that you created in step 2.
  4. Create a new page with the new template. Note that after the template is selected and the page is opened in Edit mode, you already see a script error.
  5. Click the image button of the second control.
  6. Select and then insert an image from the gallery. Notice that the image is inserted into the first control, instead of into the control with the focus.
  7. Try to save the page.

Modification Type:MajorLast Reviewed:10/26/2002
Keywords:kbbug KB330820