.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

restrict rich text box to certain fonts and colours in content editor web part - Sharepoint 2010 -

Posted By:      Posted Date: October 13, 2010    Points: 0   Category :SharePoint



Just wondering if anyone knows a way to make only certain fonts and colours available to rich text box in the content editor web part?

also is there a way to make only certain features available in the rich text box, ie only let the users change font, but not let them use bullet points etc.




View Complete Post

More Related Resource Links

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

SharePoint 2010 Rich Text Editor field

I want to embed iframe tag in Sharepoint 2010 rich html text editor control, but it is simply remove the tags when i save the content. Please let me know how can i do this?

Customize Rich Text Editor in SharePoint 2010


I tried to customize the Rich Text Editor (HTML Editor, Content Editor) in SharePoint 2010. How can I replace the default styles with my own styles in the following Dropdowns of the editor:

  • Fonts
  • Styles
  • Markup Styles
  • Tabel

 I tried also the PrefixStyleSheet-Property but I don't figured out the correct style definition - the Dropdows were empty.

<PublishingWebControls:RichHtmlField id="Content" FieldName="PublishingPageContent" runat="server" PrefixStyleSheet="PageContentStyle"/>

I found some informations but nothing works.

Background on html/rich text editor in content editor web part?


Hi All,

Does anyone know what in the CSS controls the background of the rich text/html editor in the Content Editor Web Part?  Mine is picking up the background of my page layout so I must have accidentally changed it somewhere, I'm just not sure where...


Content Query Web Part missing in SharePoint 2010

If you don't see content query web part listed in the web parts list, this is because you have not enabled "Search Server Web Parts" feature in site collection features. Enable this feature and content query web part will show in the list of web parts.

How to change the background and font color of text for a web part header - Sharepoint 2010


Hi I am trying to change the font color and text Header color of the web part, can any one help me with that


Inconvenient SharePoint 2010 Content Query Web Part and Anonymous Access


Morning every one

I am hoping some one has found a work around regarding this.

I am using a JQuery random 'quote' generator (http://nextconnect.blogspot.com/2009/12/jquery-random-quote-viewer.html) in my site.I have enabled full anonymous access. My issue is that it still prompts you for the login in order to see the quote generator. I have tried the "ViewFormPagesLockDown" fix but it isn't even activated on my site. And now I am at a complete loss. I did some googling (Read 5 hours) and it seems that in Sharepoint 2010 doesn't have a work around for this and I am really hoping I am wrong.


Any ideas?


Have a great friday :)


How can I add a SharePoint Rich text editor in my custom application page?


I want to have a richtext editor in my custom application page.

Can I use the richtext editor  bulit-in in SharePoint?

I tried add this code in my aspx but it doesn't render the control but throw a error

<SharePoint:RichTextField ID="DefaultValue" runat="server" ControlMode="New" FieldName="Title"></SharePoint:RichTextField>

Anyone helps?

Content Query Web Part Sharepoint 2010 AND Customize the data presentation


In fields to display you have a Title field. We will like to show two columns (Section Name and Status) in the title field, but only the fist one is displayed in the result.We use this syntax:

Column [Group];Column [Group]

When I use this formula

Section Name [Agresso R&D Base Columns] ; Status [Agresso R&D Base Columns ]

in the title field, the Section Name is displayed, and no Status, When I use this formula

Status [Agresso R&D Base Columns ]; Section Name [Agresso R&D Base Columns] ;

in the title field the Status field is displayed, and no section name. Is this a bug? or is it an other way to show both columns in the title field?


Fields to display Depending on the scope of your query, you can select one or more site or list columns whose values you want to show in the display slots for this style. To specify a column from a particular group, type the name of the group in square brackets after the column name, for example, Column [Group]. Be sure to separate each column you enter with a semi-colon.


SharePoint 2007-2010 content upgrade, Summary Links web part closed after upgrade.


Has anyone seen this before?

Did a DB content upgrade from SharePoint 2007 to 2010.  After the content upgrade (with only a warning saying that an unknown 3rd party web part was missing), we reviewed the new site, and found MANY pages which contained Summary Links web parts suddenly had many (but not ALL) of the Summary Links web parts now marked as closed.  At first we thought the parts were missing from the page, but when we edit the page we see the parts are in the Closed gallery.  We can add the part back in from the Closed gallery and all it's originally set properties are there.  Why are they coming up as Closed after the upgrade when they weren't Closed BEFORE the upgrade?

More details:

We have quite a few pages that contain one or more Summary Links web parts.  On SOME of the pages, one or more of these web parts are now Closed.  However, not ALL of the pages that contain these parts have the parts closed, and on the pages that now have these closed parts, not ALL of the Summary Links parts on that page are Closed, so it is not a problem with an unregistered Summary Links web part as the part is working on the same and other pages (I found other people on the web mentioning issues where NONE of their Summary Links parts are working after an upgrade.)  So, it seems to be somewhat random as to which instance

Save text box content as a text file in sharepoint 2010 document library


I am a sharepoint developer and currently I am trying to save content of a text box from client side in document library in share point 2010. I have created a sandbox solution for this. I explored the SP2010 client side object model for ECMA script, however I was not able to crack the problem.

I have created the byte array from the text box content and now I want to save it as a text file in the document library using ECMA script.

Kindly suggest how can I achieve that.

can we use classic asp code in sharepoint 2010 content editor or in _layouts?


can we use and execute classic asp code in sharepoint 2010 content editor or in _layouts?

We have lots of code in old classic asp which we do not want to recode but just put those pages in _layouts in sharepoint server and execute them somehow. is it possible? We do not want to keep old server where asp code is running now.

WCF: Consuming Claims-Enabled WCF Web Services as SharePoint 2010 External Content Types, Part 4

Learn how to use SharePoint Designer 2010 to consume a claims-enabled web service.

Configuring SharePoint Server 2010 Search for External Content Types, Part 2

Learn how defining external content types reduces crawl times for large amounts of data by using incremental crawls.

Configuring SharePoint Server 2010 Search for External Content Types, Part 1

Learn how to use SharePoint Designer 2010 to define external content types and to set up a SharePoint Server search crawl that includes that external data.

Adding the Content Editor Web Part to a SharePoint Layout .aspx page



we've created a layout page that contains the Rich Text Editor web part. But the client requires a web part that allows the embedding of audio/video files. The Rich Text Editor strips out the objects when we try to embed them.

I've used the Content Editor Web Part to add audio and video files (by manually adding the web part to the page), but I can't find the definition for that web part to include it in the layout page so that the client doesn't need to manually add the web part themselves to every page that requires it. (Which could be many pages.)

Any help would be appreciated.



rich text editor



I need to implement one text editor in my application. I dont need a complex one, i just need a simple one.

please help me


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