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
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
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.
Iva
the Telerik team
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
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
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 >>
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
Any ideas or suggestions?
Thanks,
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.
Andrew
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
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
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.
Andrew
the Telerik team
Paul