Monthly Archives: October 2011

Removing duplicate web parts when changing page layout via the ribbon

In SharePoint 2010, if a page layout contains web parts, then when you change the page layout via the Ribbon while editing the page, then the page will have web parts of both the previous and the new page layouts. … Continue reading

Posted in Page Layout, SharePoint 2010, WebPart | 5 Comments

GetValidatedString() is not called for custom field type?

I was developing a custom field type that inherits from SPFieldUrl. I overrided the GetValidatedString(object value) method to perform the validation when the field was set to be mandatory. My overriden method however was not called by SharePoint, and hence … Continue reading

Posted in Custom Field Types, SharePoint 2010 | Leave a comment