ACS Blogs

A blog site for Architecting Connected Systems staff to tell the world about their exploits in
SharePoint 2007/2010, Windows Workflow Foundation (3.0/4.0) and other great technologies!
Welcome to ACS Blogs Sign in | Join | Help
in Search

CJG

SharePoint:FieldValue in 2010

In your migrated pages, you should see them all work correctly.  However, the moment you go to do something in the new Page Layouts of SharePoint 2010, you will quickly find that it doesn't work.  The new register directive sets the tag prefix as SharePointWebControls, NOT as SharePoint.

In 2007:

<SharePoint:FieldValue FieldName="CompanyUrl" runat="server" />

In 2010:

<SharePointWebControls:FieldValue FieldName="CompanyUrl" runat="server" />

Again, this is all driven from the register directive at the top of the page.

Chris

Published Sunday, May 09, 2010 10:42 AM by cjg
Filed under: ,
Anonymous comments are disabled

This Blog

Syndication

Powered by Community Server, by Telligent Systems