Radrichtextbox(confused)

10 posts, 0 answers
  1. Jumer
    Jumer avatar
    15 posts
    Member since:
    Sep 2013

    Posted 05 Sep 2013 Link to this post

    I'm now very confused what to do with this one,I'm stuck in the "Project configuration Wizard" it's empty I don't see any components so I couldn't proceed then I watched the part two I also tried it but I din't see a tools for RadRichTextBox,I've search for solution but it only gave me more confusion >.< all I want is to have that thing looks like Microsoft word  but I couldn't make it by the way I'm referring to the first video and 2nd.

    someone teach me the right direction about this? or some guide in installing 'cause I think I install something wrong or any guide to make it.

    by the way this is the link I refer http://www.telerik.com/products/xaml/xamlflix/richtextbox.aspx#xamlflix-content
  2. Petya
    Admin
    Petya avatar
    975 posts

    Posted 05 Sep 2013 Link to this post

    Hello Jumer,

    Thank you for your interest in RadRichTextBox!

    I tried replicating the issue you are observing in both Visual Studio 2010 and 2012, but to no avail. Could you please verify that you are creating a project targeting Silverlight 5? Typically project configuration wizard will be empty if you are trying to reference Silverlight 5 binaries in a Silverlight 4 project. In case this is not the cause of the issue, please try providing us with some screenshots or a video record of the steps you are executing.

    When it comes to the toolbox, are all controls from the RadControls for Silverlight missing or just RadRichTextBox? In general, RadRichTextBox can be found under the Telerik Input tab in Visual Studio's toolbox (refer to attached image).

    Further, there are several options for generating the predefined UI of RadRichTextBox. One of them is to copy the code from our SDK examples. The required assembly references can be found in RadRichTextBox's documentation here.

    Another option is to place a RadRichTextBox control, along with a status bar and document ruler and an empty RadRichTextBoxRibbonUI on the page like this:
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
     
        <telerik:RadRichTextBoxRibbonUI />
        <telerik:DocumentRuler Grid.Row="1">
            <telerik:RadRichTextBox Name="editor" LayoutMode="Paged" />
        </telerik:DocumentRuler >
        <telerik:RadRichTextBoxStatusBar AssociatedRichTextBox="{Binding ElementName=radRichTextBox}" Grid.Row="2"/>
    </Grid>
    Once the ribbon is shown in the designer (you might need to build the solution first), right-click on it and select the Load Default Items option. This will automatically generate the ribbon based on the referenced version of assemblies and bind it to the editor on the page. 

    Additionally, I am attaching a sample I created which contains the code of RadRichTextBox's predefined UI. I hope my answer is helpful. Let us know if you are still facing issues.

    Regards,
    Petya
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. Jumer
    Jumer avatar
    15 posts
    Member since:
    Sep 2013

    Posted 08 Sep 2013 Link to this post

    Thank you for your response sir and Yes I'm referring to Silverlight 5 and the current version of my silverlight is 3 how will I change it to 5?and I can't open the sample that you made sir, about this sir https://github.com/telerik/xaml-sdk/tree/master/RichTextBox/TelerikEditor
    I don't know how to use that codes or what are the steps that I'm going to do in order for the codes to work.
    what should I do to make the 2nd video work?
    can you give the steps sir?
    and by the way here is the SS I made.
    I'm using Visual Studio 2010 ultimate.




  5. Jumer
    Jumer avatar
    15 posts
    Member since:
    Sep 2013

    Posted 08 Sep 2013 Link to this post

    UPDATE

    sir here are the steps I took and I manage to solve my problem of having an empty components in Project Configuration Wizard
    but suddenly I encountered an error do you know how to solve this?
  6. Petya
    Admin
    Petya avatar
    975 posts

    Posted 10 Sep 2013 Link to this post

    Hi Jumer,

    RadControls for Silverlight is only shipped targeting Silverlight 5. With this in mind you should install the SDK in order to take advantage of the controls in the suite. For this purpose please refer to the following link: Microsoft® Silverlight® 5 SDK.

    Once you've downloaded and upgraded the Silverlight 5 SDK you can download the Telerik Xaml SDK from the Download ZIP button found here. Each control has its own folder and in the folder there are two solutions - RichTextBox_SL and RichTextBox_WPF. In case you have RadControls for Silverlight installed on your machine in their default location, opening the RichTextBox_SL solution should make all projects in it immediately runnable. If the dlls are located in another place you might need to explicitly add them to the projects. 

    Regarding the error in your latest post, I presume at this point you are still creating a Silverlight 3 project, is that correct? If this is the case upgrading the Silverlight SDK should prevent the issue from occurring.

    I am also attaching the sample from my previous post revised. You should be able to open it with VS 2010 and run it without issues now.

    I hope this helps! Let us know how it goes.

    Regards,
    Petya
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  7. Jumer
    Jumer avatar
    15 posts
    Member since:
    Sep 2013

    Posted 11 Sep 2013 Link to this post

    Thank you sir 

    I'm still having a problem opening the solution sir maybe I installed the wrong visual studio and now  I'm downloading visual studio service pack 1

    I'll try it again sir if I'm done downloading vs 2010 sp1.
  8. Jumer
    Jumer avatar
    15 posts
    Member since:
    Sep 2013

    Posted 12 Sep 2013 Link to this post

    Thank you very much sir

    the link that you gave sir fix all my problem,after I download and install silverlight 5 sdk and make a new project, the visual studio guide me what are those lacking files that I need so what I did is I downloaded it, then this is the result(screenshot)

    now my next problem is how to do it like microsoft word
    I'm now trying to understand how to do this by reading this link here.


  9. Jumer
    Jumer avatar
    15 posts
    Member since:
    Sep 2013

    Posted 13 Sep 2013 Link to this post

    Sir do you know what's wrong with this one? I downloaded the project found in the 2nd video with this link here and successfully opened it with vs2010 but when I run it I encountered an error telling that "missing reference" so I added some silverlight reference found in my machine but no luck the problem still there.

    by they way sir I just want to say sorry if I have a lot of question 'cause I really want to know more about radrichtextbox and I want to know if there's a tutorial about a step by step procedure in making something like microsoft word using radrichtextboxke.
    something like this sir
    step 1 make a new project in vs2010 then etc until making a UI and then coding,something like that sir
    I really want to know how to make those things so that I can understand little by little how the codes work or how to use those codes in this link here.

    I'm trying to read and understand this but I'm having a hard time doing it since I don't how and where to start,I hope you understand sir.

    Thank you.
  10. Petya
    Admin
    Petya avatar
    975 posts

    Posted 16 Sep 2013 Link to this post

    Hello Jumer,

    Now that you've installed Silverlight 5 SDK, are you still having troubles running the example I prepared and attached to this post? If this is the case we would appreciate some images of the observed result. 

    Generally, the help article here is a good starting point in order to learn how to use RadRichTextBox. I'd also suggest you carefully review the suggestions I listed here in order to create MS Word-like editor with RadRichTextBox and RadRichTextBoxRibbonUI. 

    Let us know if you are still experiencing problems.

    Regards,
    Petya
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  11. Jumer
    Jumer avatar
    15 posts
    Member since:
    Sep 2013

    Posted 16 Sep 2013 Link to this post

    No sir, I'm no longer encounter an error running those example that you gave me (screenshot) and about this I found out that I don't have "Telerik Input 2013 Q2" in my toolbox (screenshot) 

    and now I'm trying to find out how to use this code 'cause I have no idea where to paste this code but still I want to know how to make an MS-Word like using radrichtextbox step by step so I'm gonna figured out  how,GOD BLESS to me and by the way sir Thank you once again.
Back to Top
DevCraft banner