Question

J'essaie d'ajouter WebPartzone à la page existante.Je travaille avec SharePoint Designer (Actions du site -> Modifier dans SPD).Je vois beaucoup de balises ASP, mais quand elle ajoutez quelque chose comme

<WebPartPages:WebPartZone runat="server" Title="TestZone1" ID="TestZone1">
<ZoneTemplate></ZoneTemplate>
</WebPartPages:WebPartZone>

Il y a une erreur: cette zone de partie Web contient du contenu de la pièce non invalide.Utilisez la vue Code pour corriger le contenu ou cliquer pour insérer une partie Web.

Comment puis-je le réparer?Ou peut-être qu'il y a une autre façon d'ajouter des webpartzones à la page existante?

Était-ce utile?

La solution

I tried adding your code to an aspx page and its working. Please to the following points from Microsoft.

Possible reasons include the following:

  1. A Web Part may be restricted to a specific zone on the Web Part Page by the Web Part developer or Web Part Page author, or you are not allowed to modify the Web Part zone.

  2. There are no zones on the Web Part Page.

  3. You do not have the appropriate permission to update the Web Part Page or modify zones on the Web Part Page.

  4. You receive a “missing assembly” message. Web Part developers can display a custom message when the Web Part assembly is not found. This can occur when the Web Part assembly file is not available, or when there is a version mismatch between the Web Part on your Web Part Page and the Web Part stored in the Web Part gallery.

  5. There is a problem with the Web Part file (.dwp). The file may not have well-formed XML, or the Web Part XML schema may be invalid.

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top