.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How to UPdate the existing JQuery assigned to Content Editor WebPart?

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#

Hello All,

I have a CEWP with Javascript assigend to it..how to modify the script assigned to?


View Complete Post

More Related Resource Links

Content Editor WebPart error "Cannot retrieve properties at this time"


I've found a similar post: http://social.technet.microsoft.com/Forums/en/sharepointadmin/thread/fc9b388c-2a16-436c-afb4-b6d06b2f5fe5...but i don't have the same errors on the event log.

- SP2 installed already

- Recyle Application Pool works but only temporarily ... it keeps happening again

I have the following and any help would be much appreciated!!!


Event Type: Error
Event Source: Office SharePoint Server
Event Category: Office Server Shared Services
Event ID: 6482
Date:  10/13/2010
Time:  4:13:34 PM
User:  N/A
Computer: XX1
Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (a21cc2ec-8b2b-4ee1-bcc6-d971a5dcc263).

Reason: The trust relationship between this workstation and the primary domain failed.

Techinal Support Details:
System.SystemException: The trust relationship between this workstation and the primary domain failed.

   at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection sourceSids, Boolean& someFailed)

Error "List does not exist" trying to insert pictures or links from Content Editor WebPart


I have put a Content Editor WebPart on a page and I'm trying to insert a picture from the Rich text editor, but whenever I try this I get this error:

List does not exist.

The page you selected contains a list that does not exist. It may have been deleted by another user.

This also happens when inserting links. When I use Fiddler I can see that the error occurs somewhere in AssetPortalBrowser.aspx and It's likely that the last location used to insert pictures and links no longer exist. So the question is how do I reset the location to point to a list on the current site, or any other list for that matter? I tried deleting and adding the WebPart on the page without any luck. Typing in a valid link in the link text box or setting the attribute "DefaultToLastUsedLocation" to "false" in the call to AssetPortalBrowser.aspx did not work either. I read the solution at http://mossipqueen.wordpress.com/2008/08/08/assetportalbrowser-error-list-does-not-exist/ (de- and re-activate Office SharePoint Server Publishing feature) but the feature is not activated on my web. Does anyone have a tip on what to do? This happens on a live SharePoint environment so there may be some restrictions as to what I can

Display error when inserting table in Content Editor Webpart


I've got a MOSS 2007. I want to insert a table into the Content Editor Webpart using the Rich Text Editor. I am choosing "Insert Table" and the new window occurs. But I can't do anything.

The buttons in the format section are not enabled.

There are a lot of display errors. (I wanted to upload an image but I don't know where...) The display errors are pictures with the name "TRANS.GIF" lying in the images folder of the 12Hive. There are several of these images maybe to align the context.

To summarize:

  • I can't use the "Format"
  • There are disply errors (images) in the dialog
Can anybody help me?

Problems With Content Editor Webpart and IE8


Since upgrading to IE8, I have started getting the following error message when editing webparts such as the Content Editor webpart on a publishing page:

"Are you sure you want to navigate away from this page?

The page took too long to save. Yo ucan click "Cance", and then try to sae the page again. If  you click "OK", you might lose unsaved date.

Press OK to continue, or Cancel to stay on the current page."

Thanks for any help!

Update the XSN of existing Content Type by code



I have ContentType deployed on a Document Library Scope , i have a Custom XSN for this Content Type deployed in a forms library.

I want by code update the url of the XSN set for this content type in that document Library. is it possible to have a code snippet to do that.

Thanks in advance

Content Editor WebPart Cannot retrieve properties or save changes


When a content editor webpart is open for editing - if they use the Rich Text Editor the error message is "Cannot retrieve properties at this time

If they use the Source Editor - they can make changes but it give them the message "Cannot save changes"

Sheryl L Fackler

Content Editor Webpart not working in web part page


I Have a CEWP, i have written jquery for displaying the same.It works fine when i do the following:

Site Actions --> Edit page -->Add a Webpart --> CEWP --> and in the Source control editor, i paste the jquery. My jquery does a calculation by comparing two values A and B in a list. If A is greater, one image is shown, if it is less another image will be shown.When the user clicks the image the list gets opened and on the change in the values the image will be changed. This works perfectly when i do the above.

But when i create a Webpart page, it gets created in the Shared Documents site. And when i add a web part and does the same thing, my CEWP is not showing the correct image.




How to add Image rollover to a sharepoint content editor webpart



In a SharePoint content editor webpart i have 5 buttons in a table.  I want to create a image rollover effect so when a user hoovers their mouse overt he image it changes.  Please can you help me do this?



How to format and update GridView and DataGrid rows using JQuery

The behavior described in this question is as expected. When you set text of a cell in grid, it directly affects HTML that is going to be rendered. When you set text value of a cell, it means that you are setting innerText of the cell. The column that GridView creates for command fields (Edit, Delete and Select) are a (anchor) or button elements. So you can see what will happen if you set text value in that cell. It will wipe out those link or button controls and replace them with simple text string.

Editor's Note: Topic Coverage Update


Over the past couple of months, we've received a lot of mail about our recent issues. Although opinions are mixed, several people have let us know that they feel we've covered too much forward-looking content recently.

Joshua Trupin

MSDN Magazine July 2004

update panel in content page



iam using master page  and i am using update panel in content pages (child pages)

my questions is that can use updatepanel in every child page or  master page only.

give ur suggestions, i have senario , in a page i have file upload concept ,updatepanel

is not support that fileupload.

Content Editor Web Part in default.aspx not copied over.


I have a CEWP with some content in the default.aspx page on one site, and I downloaded and uploaded the default.aspx page to another site collection. But when I display the default.aspx page in the browser the CEWP is not there anymore.

Is the CEWP detached from the default.aspx page and must also be copied over to the new site collection? If so, then where is the CEWP stored?

Thanks for any help. 

Problem with Content Query Webpart and Custom Userfields

Dear Community, I am using Sharepoint 2007's content query webpart to access content types from 2 lists each contained in a different sitecollection. To achieve this, I used this tutorial: http://www.heathersolomon.com/blog/articles/CustomItemStyle.aspx. The tutorial worked great. By using the property CommonViewFields and modifing the XML Stylesheets accordingly, i could access almost every field. Even User Fieldtypes like editor and author were accessible by adding (editor,User) or (author,User) to the CommonViewFields property. But when I tried to access the custom made userfield "Username" in the same way (adding Username,User to the property), the webpart threw an error and couldn't be displayed anymore. When I changed it to Username,Text , no error occured but it naturally didn't show up, since it is the wrong fieldtype. I hope some of you can help me, since all my researches on this topic only brought up some more people with the same problem, but no solution to it. Thanks in advance, SoundofSilence

where does Content Editor store it's content?

I know this must be a pretty standard thing but I must have missed it. Where or How does the sharepoint content editor store the content placed in it? Does that data get stored in a property of the webpart? Like if I were looking at the webpart of a particular webpage document library item using SharePointManager 2007, What property would that data exist in?

Remove Word Style once copy and paste content to Rich text Editor in sharepoint 2010

Hi Guys, I have page layout for Users to add content for Page.I have site column for page content on field type HTML with Richtextmode="FUll Html". Now when user cut and paste content from Word document in this Field it carry word document style. how can i control this content on Page layout with CSS. Please adviseThanks Ron

jquery is not working in asp.net panel and/or update panel ? need help

I have 3 panels on single .aspx page and depending on condition required panel is displayed . Default panel is panel 1 .  I have created a image gallery which displays thumbnails of various images and when I hover on that image its preview is displayed. I have put the code for this image gallery in 2nd panel, it displays thumbnails but on hover preview is not displayed. but  if I somehow make postback then it works. And I place the same code in !st panel it works ? Can anyone tell me whats wrong with my code? Regards, anas anjaria I have 3 panels on single .aspx page and depending on condition required panel is displayed . Default panel is panel 1 . I have created a image gallery which displays thumbnails of various images and when I hover on that image its preview is displayed.I have put the code for this image gallery in 2nd panel, it displays thumbnails but on hover preview is not displayed. but  if I somehow make postback then it works.<div> /* PAnel 1*/ <asp:UpdatePanel ID="updpnl2" runat="server" UpdateMode="Conditional"> <ContentTemplate> <asp:Panel ID="pnl2" runat="server" Visible="false"> /*other coding stuff*/ <div id="wrap"> <div id="styles-table"> <div id="styles-wrap"&g

C# WPF ListView: ListViewItem content will not update?

I am having a problem updating a listview item which I have bindings set. Here is my XAML code and behind code. Also, the DownloadProgress and DownloadSize do not update but when I debug I see the changes made under the DownloadProgressChanged delegate: mtitem.dlbtn.MouseLeftButtonUp += delegate { MTDLItem dlitem = new MTDLItem(); dlitem.DownloadName = mtitem.tbmusicname.Text; dlitem.DownloadProgress = 0; dlitem.DownloadSize = ""; WebClient wc = new WebClient(); Uri webaddress = new Uri(mtitem.MusicLink); if (mtitem.Group == "5") { } else { string songtitle = mtitem.tbmusicname.Text + @".mp3"; string fixtitle = songtitle.Replace("\\", ""); if (Properties.Settings.Default.CopyRightMessage == false) { if (System.Windows.Forms.MessageBox.Show("GINtech Systems is not responsible for user applications of copyrighted music which may be in violation of existing local, state, or federal laws.", "MusicTuner Disclaimer", System.Windows.Forms.MessageBoxButtons.OKCancel, System.Windows.Forms.MessageBoxIcon.Exclamation) == System.Windows.F
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend