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

Tools not working

7 Answers 73 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Kathy
Top achievements
Rank 1
Kathy asked on 24 Sep 2014, 05:19 PM
Hi,

Some of the tools on the RadEditor that I have added does not work.  For example, the bold doesn't bold and the indent doesn't indent nor does the outdent.

Here's my code:

    <telerik:radeditor runat="server" ContentFilters="RemoveScripts" ID="RadEditor1" EditModes="Design"
                            OnClientLoad="OnClientLoad" Width="800px" Height="200px">
                            <Tools>
                                <telerik:EditorToolGroup Tag="Top">
                                    <telerik:EditorTool Name="AjaxSpellCheck" Enabled="true" />
                                    <telerik:EditorTool Name="Cut" />
                                    <telerik:EditorTool Name="Copy" />
                                    <telerik:EditorTool Name="Paste" />
                                    <telerik:EditorTool Name="Undo" />
                                    <telerik:EditorTool Name="Redo" />
                                    <telerik:EditorTool Name="FontName" popupwidth="150px" popupheight="150px" width="150px" />
                                    <telerik:EditorTool Name="FontSize" popupwidth="35px" popupheight="35px" width="35px" />
                                    <telerik:EditorTool Name="ForeColor" />
                                    <telerik:EditorTool Name="Bold" />
                                    <telerik:EditorTool Name="Italic" />
                                    <telerik:EditorTool Name="Underline" />
                                    <telerik:EditorTool Name="InsertUnorderedList" />
                                    <telerik:EditorTool Name="InsertOrderedList" />
                                    <telerik:EditorTool Name="Indent" />
                                    <telerik:EditorTool Name="Outdent" />
                                    <telerik:EditorTool Name="JustifyLeft" />
                                    <telerik:EditorTool Name="JustifyCenter" />
                                    <telerik:EditorTool Name="JustifyRight" />
                                    <telerik:EditorTool Name="JustifyFull" />
                                </telerik:EditorToolGroup>
                            </Tools>
                            <Content></Content>
                        </telerik:radeditor>


Also the Font tool would add an extra empty tool row in IE, but does not in Firefox or Chrome.

7 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 26 Sep 2014, 02:10 PM

Hello Kathy,

Are you using the latest version (Q2 2014 SP1 at the moment) and if not, does upgrading to it help?

I am asking this because your code seems to work fine for me. I am attaching a sample video as a reference from my tests and here is the snippet I used (I had to add an OnClientLoad function to avoid errors):

<telerik:RadEditor runat="server" ContentFilters="RemoveScripts" ID="RadEditor1" EditModes="Design"
    OnClientLoad="OnClientLoad" Width="800px" Height="200px">
    <Tools>
        <telerik:EditorToolGroup Tag="Top">
            <telerik:EditorTool Name="AjaxSpellCheck" Enabled="true" />
            <telerik:EditorTool Name="Cut" />
            <telerik:EditorTool Name="Copy" />
            <telerik:EditorTool Name="Paste" />
            <telerik:EditorTool Name="Undo" />
            <telerik:EditorTool Name="Redo" />
            <telerik:EditorTool Name="FontName" popupwidth="150px" popupheight="150px" width="150px" />
            <telerik:EditorTool Name="FontSize" popupwidth="35px" popupheight="35px" width="35px" />
            <telerik:EditorTool Name="ForeColor" />
            <telerik:EditorTool Name="Bold" />
            <telerik:EditorTool Name="Italic" />
            <telerik:EditorTool Name="Underline" />
            <telerik:EditorTool Name="InsertUnorderedList" />
            <telerik:EditorTool Name="InsertOrderedList" />
            <telerik:EditorTool Name="Indent" />
            <telerik:EditorTool Name="Outdent" />
            <telerik:EditorTool Name="JustifyLeft" />
            <telerik:EditorTool Name="JustifyCenter" />
            <telerik:EditorTool Name="JustifyRight" />
            <telerik:EditorTool Name="JustifyFull" />
        </telerik:EditorToolGroup>
    </Tools>
    <Content></Content>
</telerik:RadEditor>
<script type="text/javascript">
    function OnClientLoad() {
 
    }
</script>

What I advise is that you make sure you do not have JavaScript errors on your page because there is no knowing what they can break.

I can also suggest testing our online demos and if they work fine, to compare your setup with their: http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx.

Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Kathy
Top achievements
Rank 1
answered on 26 Sep 2014, 02:46 PM
Hi Marin,

What sort of setup do I need?  Can you point me to some snippet configuration setup so I can check to make sure we have all of those and can rule out that's not the problem?  In the meantime I will check to see if we have the Q2 2014 SP1.

Thanks.

Regards,
Kathy

0
Marin Bratanov
Telerik team
answered on 26 Sep 2014, 02:48 PM

Hello Kathy,

Setup is the general way the control is used - what properties are set, what event handlers are attached. The markup of the demo is quite simple and since I do not have information on the OnClientLoad handler or about your server code, I advised comparing them with a basic demo.


Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Kathy
Top achievements
Rank 1
answered on 26 Sep 2014, 03:58 PM
Hi Marin,

Our current version is 2012.1.411.40. Is there a page where we can download a newer version or the version you mentioned?

Regards,
Kathy
0
Marin Bratanov
Telerik team
answered on 26 Sep 2014, 04:30 PM

Hello Kathy,

You can download a trial from this page: http://www.telerik.com/products/aspnet-ajax/download.aspx. You can also seek out a license holder in your company to confirm if you have a company license. If you have outstanding questions about this, I would suggest reaching out to sales<at>telerik.com


Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Kathy
Top achievements
Rank 1
answered on 26 Sep 2014, 05:31 PM
Hi Marin,

I downloaded the latest version.  My lead is trying to find our license and agreement.  But in the meantime I will use the 30 day trial.  Can you tell me where I need to place the install?  I have an App_Data folder, App_GlobalResources, Bin35, Bin40, Bin45, EditorDialogs, ExternalLibraries, ImageEditorDialogs, LicenseAgreements, Scripts, Skins, VSExtensions from the install.  Do I need all of these?  or do I just need the .dll file and the .xml file from one of the Bin folder?  and if I need all of these where would I put them and do I need to figure anything or use what I have previously configure from the older version?
0
Ianko
Telerik team
answered on 01 Oct 2014, 06:12 AM

Hi Kathy,

Thank you for downloading the trial version of the latest suite.

I assume that the listed folders are the already installed ones and correspond to the 2014.2.724 version.

Upgrading the application with the needed resources entirely depends on the already built project. Generally, all you should need is to replace the dll files in the Bin folder of the project, according the .NET version already used.  I.e., verify the already used .NET version and accordingly get the needed version from the Bin35, Bin40 or Bin45 folder, copy the dll files to the Bin folder of the project. Remember to verify the correct references in the VS project. You examine the following articles for more detailed information:


If there are further complications on the upgrading process, I recommend following these materials for further guidance:

Let us know if you need further assistance.

Regards,

Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Editor
Asked by
Kathy
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Kathy
Top achievements
Rank 1
Ianko
Telerik team
Share this question
or