This is a migrated thread and some comments may be shown as answers.

Resources for the RichTextBox

4 Answers 96 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Cuthahotha
Top achievements
Rank 1
Cuthahotha asked on 22 Nov 2010, 07:54 PM

Very nice job on the ribbon control for the RichTextBox.

I noticed that the support for tables wasn't included, but that support does exist in the API.

I'd like to add in the support for tables into the ribbon.  My only problem is finding the binding path for the command and  image resources that match the control api ala the example here for the Toggle Bullets.

I've looked in the help and object browser and can't seem to locate the info.  I can proably sit there and guess, but would hate to find out the items are not there.

 

 

 

 

<telerikRibbonBar:RadRibbonToggleButton telerik1:RadRichTextBoxRibbonUI.RichTextCommand="{Binding Path=ToggleBulletsCommand}" Size="Small" SmallImage="/Telerik.Windows.Controls.RichTextBoxUI;component/Images/MSOffice/16/list-bullets.png" />

 

4 Answers, 1 is accepted

Sort by
0
Boby
Telerik team
answered on 23 Nov 2010, 09:15 AM
Hello Cuthahotha,
To upgrade your RadRichTextBoxRibbonUI, you can take advantage of the commands in its context menu in the Visual Studio designer (screenshot is attached)
  1. Add 'Table' Tab - this will add Table tab in your ribbon.
  2.  Add 'Editing and Proofing' Group to First Tab - this will add group with Spell checking and Find/Replace commands.
  3. Load Default Items - this will delete all items and will add default items - here are included some other minor changes, like dialog launcher in the Font group and Insert Table button in Insert Tab for example; however if you have done any customizations, they will be lost.

Sincerely yours,
Boby
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Cuthahotha
Top achievements
Rank 1
answered on 23 Nov 2010, 04:26 PM
Hi Roby,

I don't have all three options on the context menu.  Only the last one for the Insert Default Items.

I'm on Q2 2010 currently.  Do I need to download newer version, or can you send the XAML for the menu?

Thanks,
Steve
0
Iva Toteva
Telerik team
answered on 23 Nov 2010, 06:03 PM
Hi Cuthahotha,

In Q3 2010 (and Q3 Beta) we introduced quite a few new features, including Table support and SpellChecking. You cannot use them (neither in the ContextMenu, nor programmatically) unless you upgrade to that version of the controls.
Once you install the Q3 controls, you will get these items in the ContextMenu out of the box.
You can check our online demos to see these new features in action:
http://demos.telerik.com/silverlight/#RichTextBox/MSWord

Try it out and let us know if you encounter any other problems.

Best wishes,
Iva
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Steve Moss
Top achievements
Rank 1
answered on 23 Nov 2010, 06:04 PM
Thanks.  Downloading new version now.
Tags
RichTextBox
Asked by
Cuthahotha
Top achievements
Rank 1
Answers by
Boby
Telerik team
Cuthahotha
Top achievements
Rank 1
Iva Toteva
Telerik team
Steve Moss
Top achievements
Rank 1
Share this question
or