style.display is null or not an object error in sharepoint

Posted on 2009-12-18
Medium Priority
Last Modified: 2012-06-27
Hi All, while selecting modify webpart its showing error 'style.display' is null or not an object error in sharepoint. If any one knows the solution please suggest.
Question by:ravibabub
  • 2
  • 2

Accepted Solution

StevenMulkerrins earned 1500 total points
ID: 26080589
It's normally down to some error in a web part, or possibly some conflict between multiple web parts. First thing to do is go to the web part maintenance page, do this by adding "?contents=1" to your url, i.e. if your url is http://sharepoint/site/page.aspx go to http://sharepoint/site/page.aspx?contents=1. This will show all web parts on the page and if there are any that are closed or not in use you can delete them completely from the page to prevent possible conflicts.

Also if the web part that is triggering the error is a content editor web part, look in it's source and see if there's anything there, possibly some invalid javascript code. Or could your web part be using some custom XSL?


Author Comment

ID: 26094364
Hi StevenMulkerrins,

Thanks for solution. Here I am getting with Content Editor Webpart. Now I want to delete the content editor webpart, to delete this, when I select edit button its showing javascript error. Please advice the best how I can delete this.


Expert Comment

ID: 26094466
If you use the web part maintenance page like above (by adding ?contents=1 to the end of the url) it will give you a list of all of the web parts on the page, you can then tick your Content Editor web part and choose to delete it.

Author Closing Comment

ID: 31667730
yaa..its nice

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

750 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question