Tag Archives: Webpart

WebPart selection error on page

Hello everyone, Today I’ll talk about a mistake that I had with a custom webpart. The webpart has custom properties that are retrieved during the OnInit event of webpart. protected override void OnInit(System.EventArgs e) { // Check/Initialize custom properties if … Continue reading

Posted in SharePoint 2010 | Tagged , | 1 Comment

Edit Mode on a WebPart

It is sometimes interesting to know if the view of the current WebPart is the display view or the edit view. I’ve done this little tutorial to show one difference which occur when you work with a Publishing site or … Continue reading

Posted in SharePoint 2007 | Tagged , | 2 Comments