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

RadRichTextBox Wizard

10 Answers 194 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dave Navarro
Top achievements
Rank 2
Dave Navarro asked on 04 Jul 2011, 10:49 PM
Hello,

I just watched a video on the RadRichTextBox Wizard (http://tv.telerik.com/watch/silverlight/using-radrichtextbox-wizard) and wish to use it to create a new richtextbox ribbon however when I follow the directions in the video the Wizard does not start.

Has this Wizard been officially published for our use? I have the latest builds on my dev pc so perhaps I'm just missing something or some setting needs to be reset?

Please let me know and thanks!

~ Dave Navarro

10 Answers, 1 is accepted

Sort by
0
Dave Navarro
Top achievements
Rank 2
answered on 05 Jul 2011, 01:25 AM
Ok, this has to be one of those moments where you just have to ask yourself "is this going to be one of those days???"

I don't know why, but my wizard would not launch when following the instructions... "drag the control into your XAML". So, after a few tries (ok, a few dozen...) I accidentally "double clicked" on the control while it was in the toolbox and the wizard sprang into action! Of course it placed the control in the wrong place, but I was able to quickly fix that.

So, I guess that will teach me! Perhaps it's an undocumented feature?

In any case,... case closed.

~ Dave
0
Iva Toteva
Telerik team
answered on 05 Jul 2011, 01:20 PM
Hello Dave Navarro,

It is good to hear that you have managed to get it working in the end.
The Wizard is normally shown when you add a RichTextBox from the Toolbox panel, which can be done either by dragging the control or double-clicking it in the Toolbox panel. For reference, all controls (Buttons, TextBoxes, etc.) can also be added when you double-click them.
I tried both scenarios and the wizard showed properly. The issue must be solved if you restart Visual Studio, your computer or (as a last resort) reinstall Visual Studio. Gladly, as you have managed to workaround the problem, this will not be needed.

Regards,
Iva
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
Rob
Top achievements
Rank 1
answered on 15 Sep 2011, 05:51 AM
I have just watched this same video. For me, the wizard does not open when I drag the RadRichTextBox control from the Toolbox to the design screen in VS2010. I came across this thread and thought double clicking the control in the Toolbox might be a solution but it does not work for me.


Restart Visual Studio - done
Restart PC - done
Reinstall VS2010 just to get the Telerik wizard to show up - not going to happen


Suggestion to Telerik team: You already have a Telerik menu in VS2010 so why not let developers launch Telerik wizards manually from here?


For troubleshooting, I am running Visual Studio 2010 Professional version 10.0.30319.1 on Windows XP SP3. I have the latest Telerik Silverlight controls. 


Visual Studio 2010
Version 10.0.30319.1 RTMRel
Microsoft .NET Framework
Version 4.0.30319 RTMRel
Installed Version: Professional


AnkhSVN - Subversion Support for Visual Studio   2.1.10129.17
AnkhSVN - Subversion Support for Visual Studio 2.1.10129.17 
 * Ankh.Package 2.1.10129.17
 * Subversion 1.6.16 via SharpSvn 1.6016.1637.10768
SharpSvn is linked to: Apr 1.4.2, Apr-util 1.3.10, Neon 0.29.5, OpenSSL 1.0.0d 8 Feb 2011, serf 0.7.1, SQLite 3.7.5, Subversion 1.6.16-SharpSvn-tag-1.6.16@1076827, ZLib 1.2.5
SharpSvn is dynamically linked to: Cyrus Sasl 2.1.23
SharpSvn is optionally linked to: Berkeley DB 4.4.20, SharpPlink 1.6016.1637.10768
Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2455033)   KB2455033
Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB982218)   KB982218


Telerik Silverlight VSExtensions   2011.02.712.0
Telerik RadControls for Silverlight VSExtensions Package
0
Boby
Telerik team
answered on 21 Sep 2011, 07:35 AM
Hello Rob,
Could you please verify  that you added all needed references prior to the drag-drop operation in the designer, namely:
  • Telerik.Windows.Controls
  • Telerik.Windows.Data
  • Telerik.Windows.Documents.Proofing.Dictionaries.En-US
  • Telerik.Windows.Controls.ImageEditor
  • Telerik.Windows.Controls.Input
  • Telerik.Windows.Controls.Navigation
  • Telerik.Windows.Controls.RibbonBar
  • Telerik.Windows.Controls.RichTextBoxUI
  • Telerik.Windows.Documents
  • Telerik.Windows.Documents.FormatProviders.Html
  • Telerik.Windows.Documents.FormatProviders.OpenXml
  • Telerik.Windows.Documents.FormatProviders.Pdf
  • Telerik.Windows.Documents.FormatProviders.Rtf
  • Telerik.Windows.Documents.FormatProviders.Xaml
After the code generation, you can safely remove some of the assemblies (for example format providers) if you do not need them. This is known limitation and we are actively researching possible solutions to this issue.
If you are interested only in RibbonUI generation, you could add RadRichTextBox to your control, give it a name (this is important, as the binding between RibbonUI and RadRichTextBox is by the element name), and then drag the RadRichTextBoxRibbonUI component to the design surface. RibbonUI will be automatically generated (in this case you don't have to manually add the references).

Kind regards,
Boby
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Rob
Top achievements
Rank 1
answered on 21 Sep 2011, 08:33 AM
Hi Boby,

Thanks for your reply. I know that I had references to only the essential dlls mentioned in the Telerik Getting Started section. I also know that I only had the format providers that I was using for the project. I will try again by adding all of the assemblies you have named first, try the wizard again and then remove unnecessary dll references.

I'll let you know the outcome.

For what it is worth, I have the RadRichTextBox coming up in my projects and it looks great! Without the wizard though, it seems a bit harder to customize it. Once I'm more familiar with the Telerik customization attributes I may not require the wizard as much but right now it looks very handy for me!

Regards,
Rob Francis
0
Matt
Top achievements
Rank 1
answered on 05 Jan 2012, 07:23 PM
I also cannot get the wizard to display. I'm using the silverlight controls from Q2 2011 SP1. I've added all the references as pointed out and still no wizard. I've also restarted Visual Studio 2010.

Any ideas or suggestions?

Thanks,
Matt
0
Andrew
Telerik team
answered on 10 Jan 2012, 04:57 PM
Hello Matt,

Usually this happens when the design dlls cannot be loaded or are missing. Can you please see if they are present in the same folder as our Telerik dlls or in a sub-folder called design?
If those design assemblies are there and the problem persists, we would suggest reinstailing RadControls for Silverlight altogether.

Greetings,
Andrew
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Paul
Top achievements
Rank 1
answered on 24 Feb 2012, 10:11 AM
I am investigating the use of the Telerik Silverlight RichTextBox control for my employer, but I also cannot get the ribbon or its wizard to work. I tried all of the above, but no joy...

If I add the ribbon manually I just get an empty ribbon (with one orange square). Also setting the DataContext does not seem to work.

Can't you just give us the XAML and/or C# code that the wizard would create, so I can manually add it?

Cheers,
Paul
0
Andrew
Telerik team
answered on 29 Feb 2012, 10:14 AM
Hello Paul,

1) The XAML which our wizard outputs is the same as in our demo here. You just click the Code button in the top right corner and the code of the demo will be shown. On the left you should see the list with the main code files. Click TelerikEditorExample.xaml, you can select the code and copy it with Ctrl+C.

2) When nothing happens upon dropping a control on the design surface that means that either there is no design assembly or it can't be loaded. The most common reason for not loading it is that the respective design assembly version is the same as that of the assembly with the implementation of the control. The versions can be mismatched if you have manually copied some of the dlls for example, but have not copied the design folder. Please be sure that the design assemblies are there and their version is the same as the one of the controls before dropping.

Regards,
Andrew
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Paul
Top achievements
Rank 1
answered on 01 Mar 2012, 09:49 AM
Thanks, Andrew, copying the code did the trick for me!
Paul
Tags
RichTextBox
Asked by
Dave Navarro
Top achievements
Rank 2
Answers by
Dave Navarro
Top achievements
Rank 2
Iva Toteva
Telerik team
Rob
Top achievements
Rank 1
Boby
Telerik team
Matt
Top achievements
Rank 1
Andrew
Telerik team
Paul
Top achievements
Rank 1
Share this question
or