Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Content Editor Web Part Javascript error with more than 2 on a pag
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  16 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Stephen  
View profile  
 More options Aug 31 2007, 5:54 am
Newsgroups: microsoft.public.sharepoint.portalserver
From: Stephen <Step...@discussions.microsoft.com>
Date: Thu, 30 Aug 2007 12:54:08 -0700
Local: Fri, Aug 31 2007 5:54 am
Subject: Content Editor Web Part Javascript error with more than 2 on a pag
When I do the following I get get a javascript error:

1. Create a new page, blank web part template
2. Add 2 content edirot web parts
3. Add content to them
4. Add an additional web part to the page.
5. Attempt to open up the 'modify web part' or use the little drop down menu

I get the following error.
line: 2135
Char: 4
Error: 'style.display' is null or not an object
code: 0

If i take the content editrors off. I don't get a problem.

I have tried this on mutiple servers, QA and PROD, with a custom MP or with
a regular one.

Any body have any ideas?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
PJ-Winona  
View profile  
 More options Sep 11 2007, 6:36 am
Newsgroups: microsoft.public.sharepoint.portalserver
From: PJ-Winona <PJ-Win...@discussions.microsoft.com>
Date: Mon, 10 Sep 2007 13:36:00 -0700
Subject: RE: Content Editor Web Part Javascript error with more than 2 on a pag
I am getting this EXACT same situation. Please somebody help. My content
managers are going to kill me.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Content Editor Web Part Javascript error with more than 2 on a" by Stephen
Stephen  
View profile  
 More options Sep 11 2007, 6:42 am
Newsgroups: microsoft.public.sharepoint.portalserver
From: Stephen <Step...@discussions.microsoft.com>
Date: Mon, 10 Sep 2007 13:42:00 -0700
Subject: RE: Content Editor Web Part Javascript error with more than 2 on a
I have heard nothing and haven't found anything out either. Further fiddling
on the situation has provided no help either.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Content Editor Web Part Javascript error with more than 2 on a pag" by galvin.paul@gmail.com
galvin.paul@gmail.com  
View profile  
 More options Sep 11 2007, 7:14 am
Newsgroups: microsoft.public.sharepoint.portalserver
From: "galvin.p...@gmail.com" <galvin.p...@gmail.com>
Date: Mon, 10 Sep 2007 21:14:54 -0000
Local: Tues, Sep 11 2007 7:14 am
Subject: Re: Content Editor Web Part Javascript error with more than 2 on a pag
On Sep 10, 4:36 pm, PJ-Winona <PJ-Win...@discussions.microsoft.com>
wrote:

I am not seeing that behavior.

What is your 3rd web part?  Maybe it's specific to that kind?

What about the content?  I just entered some simple text: "first ctwp"
and "second ctwp" respectively.

--Paul Galvin


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Content Editor Web Part Javascript error with more than 2 on a" by Stephen
Stephen  
View profile  
 More options Sep 12 2007, 12:02 am
Newsgroups: microsoft.public.sharepoint.portalserver
From: Stephen <Step...@discussions.microsoft.com>
Date: Tue, 11 Sep 2007 07:02:04 -0700
Local: Wed, Sep 12 2007 12:02 am
Subject: Re: Content Editor Web Part Javascript error with more than 2 on a
Paul, It occurs on a somewhat random basis.  Basiclly when adding more than 2
CEWP on a blank web part page I get the error. I have tried with a custom
master and also a default master. Both work in some places, both don't work
in others.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rebecca_mar...@hotmail.com  
View profile  
 More options Oct 30 2007, 1:52 am
Newsgroups: microsoft.public.sharepoint.portalserver
From: rebecca_mar...@hotmail.com
Date: Mon, 29 Oct 2007 07:52:18 -0700
Local: Tues, Oct 30 2007 1:52 am
Subject: Re: Content Editor Web Part Javascript error with more than 2 on a
On Sep 11, 9:02 am, Stephen <Step...@discussions.microsoft.com> wrote:

I am seeing the same behavior when there are more than 2 document
library web parts on my MOSS 2007 site.  Were you able to resolve this
issue?  I cannot readily reproduce the issue in my test or dev
environment however was able to do a restore of my prod to dev and see
the issue.  I am using next to zero customizations.  Please let me
know if you are still seeing the issue or how you corrected it, thank
you!!!!

Does anyone have an update on this issue?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen  
View profile  
 More options Oct 30 2007, 2:33 am
Newsgroups: microsoft.public.sharepoint.portalserver
From: Stephen <Step...@discussions.microsoft.com>
Date: Mon, 29 Oct 2007 08:33:02 -0700
Local: Tues, Oct 30 2007 2:33 am
Subject: Re: Content Editor Web Part Javascript error with more than 2 on a
I have not found any solution or figured out how to replicate the issue. I
have heard nothing from MS regarding this matter either. I was hoping since
We now have at least 5 diffrent people with this problem that
something/someone might come out with a fix or atleast acknowledge an issue
was occuring but not yet.

-Stephen


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
johnrichte...@gmail.com  
View profile  
 More options Oct 31 2007, 12:08 am
Newsgroups: microsoft.public.sharepoint.portalserver
From: johnrichte...@gmail.com
Date: Tue, 30 Oct 2007 06:08:52 -0700
Local: Wed, Oct 31 2007 12:08 am
Subject: Re: Content Editor Web Part Javascript error with more than 2 on a
On Oct 29, 11:33 am, Stephen <Step...@discussions.microsoft.com>
wrote:

Hey Stephen,

I am having the exact same issue ... WSS 3, SharePoint 2007 ...

When attempting to edit a web part I receive the following pop-up
error ...

Line: 2135
Char: 4
Error: 'style.display' is null or not an object

When I move the web part to a lower part of the page (for example) I
receive another pop-up error:

Error: 84
Unspecified error

When I attempt to move the web part to another zone I receive the
generic SharePoint error page saying: "An unexpected error has
occurred." ... and it will not more the web part to another zone


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Frode Aarebrot  
View profile  
 More options Nov 1 2007, 6:49 am
Newsgroups: microsoft.public.sharepoint.portalserver
From: Frode Aarebrot <frode.aareb...@solvera.ca>
Date: Wed, 31 Oct 2007 13:49:36 -0600
Local: Thurs, Nov 1 2007 6:49 am
Subject: Re: Content Editor Web Part Javascript error with more than 2 on a

I was having the exact same problem. IE7 returns a "'style.display' is
null or not an object" error whenever I try to use the drop down menu on
a content web part after I've populated it with content. Funny enough,
it didn't happen every time or with all my content editors.

I did some testing and it appears that if you copy the entire text from
another web part displayed in IE (I've only tried from other content
editors) it will copy not just the text, but it's formatting _and_ a
<div> tag. It's this tag that causes the problem in my case. After
removing it (using Source Editor before exiting Edit Mode), the content
editor drop down works fine.

With the error appearing the source code looks like this;

<td class="ms-WPBorder" valign="top">
<div WebPartID="8d6c1262-f5c7-4785-955e-d30a71eb3256" HasPers="false"
id="WebPartWPQ2" width="100%" class="ms-WPBody" SelectedWebPart="true"
style="" ><FONT color=#ffffff>
<DIV class=ms-WPBody id=WebPartWPQ2
WebPartID="e11467e9-5f5d-482a-80ac-76dde74fb48e" HasPers="false"
width="100%" allowDelete="false">
<P><FONT color=#ffffff>...</FONT></P>
<P><FONT color=#ffffff>...</FONT></P>
<P><FONT color=#ffffff>...</FONT></P></DIV></FONT></div></td>

Pasting the text from IE to Word, and then into the Rich Text editor
yields this source code:

<td class="ms-WPBorder" valign="top">
<div WebPartID="8d6c1262-f5c7-4785-955e-d30a71eb3256" HasPers="false"
id="WebPartWPQ2" width="100%" class="ms-WPBody" SelectedWebPart="true"
style="" >
<P class=MsoNormal>....</P>
<P class=MsoNormal>...</P>
<P class=MsoNormal>...</P></div></td>

Notice the double Div tag in the first code, with the same id.

I don't know if this is the case for everybody else, but it solved the
problem for me by using Word (or any other text processor) as an
in-between step for copy and paste to strip out any formatting.

I apologize if I'm being unclear. Please feel free to comment.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RobS  
View profile  
 More options Nov 2 2007, 4:11 am
Newsgroups: microsoft.public.sharepoint.portalserver
From: RobS <rsymo...@gmail.com>
Date: Thu, 01 Nov 2007 10:11:00 -0700
Subject: Re: Content Editor Web Part Javascript error with more than 2 on a
I have seen this error even when I only have 1 CEWP on the page. The
thing is that it doesn't happen consistently. I have pages with
multiple web parts including multiple CEWP's and list web parts--no
problem. Then I have other pages with just 1 web part--Javascript
error.

Rob


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rebecca_mar...@hotmail.com  
View profile  
 More options Nov 2 2007, 7:21 am
Newsgroups: microsoft.public.sharepoint.portalserver
From: rebecca_mar...@hotmail.com
Date: Thu, 01 Nov 2007 13:21:36 -0700
Local: Fri, Nov 2 2007 7:21 am
Subject: Re: Content Editor Web Part Javascript error with more than 2 on a
On Nov 1, 12:11 pm, RobS <rsymo...@gmail.com> wrote:

> I have seen this error even when I only have 1 CEWP on the page. The
> thing is that it doesn't happen consistently. I have pages with
> multiple web parts including multiple CEWP's and list web parts--no
> problem. Then I have other pages with just 1 web part--Javascript
> error.

> Rob

I resolved our issue after viewing Frode's post.  The resolution was a
bit different, but his post gave me additional details in order to
troubleshoot.  My issue was resolved by clearing the source code
within the Content Editor Web Part Source Editor text box.  It appears
the issue was related to conflicting IDs, perhaps from copy/pasting
content editor web part information.  Here are the steps we performed
that resolved the issue:
1)  Place page in edit mode
2)  Edit the content of the content editor web part by selecting the
'modify web part' drop down menu
3)  Select the Rich Text Editor and copy the text if you do not want
to lose it.
4)  Select Source Editor button, this opens the HTML source code for
the CE Web Part
5)  Remove the source code.  Our source code had a conflicting ID.
6)  Update CE web part and make sure source code does not have auto
generated code, or just add a new content editor web part.

Hopefully this helps others.  And hopefully the issue does not re-
appear:|


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sarah...@gmail.com  
View profile  
 More options Nov 7 2007, 8:34 am
Newsgroups: microsoft.public.sharepoint.portalserver
From: sarah...@gmail.com
Date: Tue, 06 Nov 2007 13:34:07 -0800
Local: Wed, Nov 7 2007 8:34 am
Subject: Re: Content Editor Web Part Javascript error with more than 2 on a
On Oct 29, 6:52 am, rebecca_mar...@hotmail.com wrote:

Check out
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg...
Post from that thread --
I resolved our issue after viewing Frode's post. The resolution was a
bit different, but his post gave me additional details in order to
troubleshoot. My issue was resolved by clearing the source code
within the Content Editor Web Part Source Editor text box. It appears
the issue was related to conflicting IDs, perhaps from copy/pasting
content editor web part information. Here are the steps we performed
that resolved the issue:
1) Place page in edit mode
2) Edit the content of the content editor web part by selecting the
'modify web part' drop down menu
3) Select the Rich Text Editor and copy the text if you do not want
to lose it.
4) Select Source Editor button, this opens the HTML source code for
the CE Web Part
5) Remove the source code. Our source code had a conflicting ID.
6) Update CE web part and make sure source code does not have auto
generated code, or just add a new content editor web part.

End included post

However, we can't edit the offending CE web part. We can't even get
out of Edit
mode on that page without getting an error. Alas.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sarahsez  
View profile  
 More options Nov 7 2007, 8:43 am
Newsgroups: microsoft.public.sharepoint.portalserver
From: sarahsez <sarah...@discussions.microsoft.com>
Date: Tue, 6 Nov 2007 13:43:01 -0800
Local: Wed, Nov 7 2007 8:43 am
Subject: Re: Content Editor Web Part Javascript error with more than 2 on a
We have the same problem, only more so--we did copy content from a CEWP on
another site and would be happy to do as Rebecca suggests, but we can't edit
the web part, and once on the page in Edit mode, can't even return to View
mode without getting an error and an invitation to troubleshoot. We're on
wssv3, not MOSS (yet).

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
escapi...@gmail.com  
View profile  
 More options Nov 9 2007, 8:32 am
Newsgroups: microsoft.public.sharepoint.portalserver
From: escapi...@gmail.com
Date: Thu, 08 Nov 2007 13:32:20 -0800
Local: Fri, Nov 9 2007 8:32 am
Subject: Re: Content Editor Web Part Javascript error with more than 2 on a
Hi Guys,
Yeah unfortunately if you have a Shared site instead of a standard
publishing site, you don't have the option to edit web parts from a
side bar menu and instead can only edit them through their personal
menu.  The work around for me was to connect to the page through
SharePoint Designer and delete the entire contenteditor web part from
the web part zone and then go back to the front page and recreate it,
this time with the correctly formatted text.

Hope this helps.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gsun83  
View profile  
 More options Jan 4 2008, 2:53 am
Newsgroups: microsoft.public.sharepoint.portalserver
From: gsun83 <gsu...@gmail.com>
Date: Thu, 3 Jan 2008 07:53:41 -0800 (PST)
Local: Fri, Jan 4 2008 2:53 am
Subject: Re: Content Editor Web Part Javascript error with more than 2 on a
This problem happens to me for not just CEWPs but other web parts too,
for example, image web parts and page viewer web parts.

Any solution to those WPs similar to the one for CEWP?

thanks!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom @ sas  
View profile  
 More options Jan 29 2008, 7:12 am
Newsgroups: microsoft.public.sharepoint.portalserver
From: Tom@sas <Tom@s...@discussions.microsoft.com>
Date: Mon, 28 Jan 2008 12:12:02 -0800
Local: Tues, Jan 29 2008 7:12 am
Subject: Re: Content Editor Web Part Javascript error with more than 2 on a
Great postings! Thanks to all who have replied. We were having the same
issue. Tried editing the CEWP via SharePoint Designer. Not only did that work
but after doing so the web interface now works without the scritping error in
IE. We have replicated this 'work around' with a couple of differant
instances. Give it a shot and please reply with your thoughts as to why this
fixes the issue.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google