When you are working with master page using SharePoint designer
sometimes junk data will be added to the master page as shown below.
in my scenario junk data added to <SharePoint:DeveloperDashboard control
<div id="DeveloperDashboard" class="ms-developerdashboard">
<SharePoint:DeveloperDashboard runat="server" id="ddashboard" __designer:Preview="[ DeveloperDashboard "ddashboard" ]" __designer:Values="<P N='ID' T='ddashboard' /><P N='Page' ID='1' /><P N='TemplateControl' ID='2' /><P N='AppRelativeTemplateSourceDirectory' R='-1' />"/>
</div>
Error:
http://server/sites/sitecol1/_catalogs/masterpage/CustomMaster.master(502): error CS0030: Cannot convert type 'Microsoft.SharePoint.WebControls.DeveloperDashboard' to 'System.Web.UI.IAttributeAccessor'
Solution :
No comments:
Post a Comment