RadRichTextBox Wizard

11 posts, 0 answers
  1. Dave Navarro
    Dave Navarro avatar
    150 posts
    Member since:
    Jul 2005

    Posted 04 Jul 2011 Link to this post

    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
  2. Dave Navarro
    Dave Navarro avatar
    150 posts
    Member since:
    Jul 2005

    Posted 04 Jul 2011 Link to this post

    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
  3. DevCraft banner
  4. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 05 Jul 2011 Link to this post

    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
  5. Rob
    Rob avatar
    9 posts
    Member since:
    Aug 2011

    Posted 15 Sep 2011 Link to this post

    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
  6. Boby
    Admin
    Boby avatar
    595 posts

    Posted 21 Sep 2011 Link to this post

    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 >>

  7. Rob
    Rob avatar
    9 posts
    Member since:
    Aug 2011

    Posted 21 Sep 2011 Link to this post

    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
  8. Matt
    Matt avatar
    2 posts
    Member since:
    Oct 2011

    Posted 05 Jan 2012 Link to this post

    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
  9. Andrew
    Admin
    Andrew avatar
    140 posts

    Posted 10 Jan 2012 Link to this post

    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 >>

  10. Paul
    Paul avatar
    2 posts
    Member since:
    Jan 2012

    Posted 24 Feb 2012 Link to this post

    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
  11. Andrew
    Admin
    Andrew avatar
    140 posts

    Posted 29 Feb 2012 Link to this post

    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 >>
  12. Paul
    Paul avatar
    2 posts
    Member since:
    Jan 2012

    Posted 01 Mar 2012 Link to this post

    Thanks, Andrew, copying the code did the trick for me!
    Paul
Back to Top
DevCraft banner