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

automatic ribbon? demo code update?

4 Answers 113 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Paul Dhingra
Top achievements
Rank 1
Paul Dhingra asked on 14 Jul 2010, 02:50 PM
In an earlier thread in this forum, it was mentioned that perhaps in the new release (Q2 2010) that there would possibly be included some automatic wiring up of a default ribbon bar with standard (Word-like) controls to RadRichTextBox methods, so we wouldn't always have to go through the whole process.

Just downloaded the new version, but I don't see this in there, am I missing something or was it not included?

If that's the case, can you post updated source for the Word-based demo, as it's still not available in the examples.  I'd prefer a vb example if possible.

Thanks!

4 Answers, 1 is accepted

Sort by
0
GEB
Top achievements
Rank 1
answered on 15 Jul 2010, 12:01 AM
I just downloaded the new Q2 release, and the sample for RadRichTextBox does show how the RadRibbonBar is wired to RadRichTextBox.  And, there seems to be both a CS and VB version.  For example, if you look at MsWordExample.xaml.cs, you will be how the two are wired together.  You can see how how RadRichTextBoxRibbonUI is used. 
0
Paul Dhingra
Top achievements
Rank 1
answered on 15 Jul 2010, 12:08 AM
Actually I was hoping to see an automatic configuration as was alluded to in a previous post, but perhaps that's been moved to another release.

As for the example, perhaps I'm looking in the wrong place - when I load the examples and locate the RadRichTextBox, select the Telerik Word example, and view the code, I just see a partial class, the actual wireup code is not available there - do you see it elsewhere?

It was posted for the beta version in this forum, and I used it extensively, however there were some breaking changes between that posted code and today's release, which don't seem to be covered in the documentation...  (some of the API documentation hasn't been updated, which would be fine if either the Ribbon was automated or the example had full source available, but now I'm stuck...)

Thanks,
0
Accepted
Alex
Telerik team
answered on 16 Jul 2010, 10:33 AM
Hello Paul Dhingra,

We fixed an issue in the demo application and now the code of the demo is visible.

In the official release we added additional assembly in the suite called  introduced a new control called Telerik.Windows.Controls.RichTextBoxUI.dll. There you can find brand new RadRichTextBoxRibbonUI control which will automatically create full featured editing UI when you drop it onto the designer surface. You will have full control to further customize the generated XAML to match you needs. 

The Ruler control we used in our demo is also located in this new assembly.

Sincerely yours,
Alex
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Paul Dhingra
Top achievements
Rank 1
answered on 16 Jul 2010, 06:52 PM
Excellent thanks - the demo code + RichTextBoxUI works great!
Tags
RichTextBox
Asked by
Paul Dhingra
Top achievements
Rank 1
Answers by
GEB
Top achievements
Rank 1
Paul Dhingra
Top achievements
Rank 1
Alex
Telerik team
Share this question
or