Sharepoint Javascript Error: ‘style.display’ is not null or not an object

By peter.stilgoe









If you are receiving the following error when trying to access the ‘edit’ menu of a webpart on a page:

‘style.display’ is not null or not an object

It is likely that you have some random/extra code in another webpart on the page, this typically happens if you cut & paste text from another location onto the page & it also brings over some formatting chars which upsets Sharepoint. Either:

a) Remove the offending text from another webpart on the page

b) Use something other than IE like Firefox or Google Chrome, typically using another web browser you will be able to edit the troublesome webpart.

Share

, ,

About... peter.stilgoe

peter.stilgoeThis author published 482 posts in this site.
Sharepoint, InfoPath, K2, Nintex, Business Process Mapping, Business Intelligence, Automation, ECM, Document Management, Document Imaging, Internet Marketing & Online Business Consultant Email / MSN: pstilgoe@hotmail.com LinkedIn: Pete Stilgoe - Sharepoint Consultant









Share

FacebookTwitterEmailWindows LiveTechnoratiDeliciousDiggStumbleponMyspaceLikedin

1 Comment

  • At 2011.11.17 22:42, Mani said:

    Thanks! I opened in firefox and it worked. You saved me some time.

    [Reply]

    (Required)
    (Required, will not be published)