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

[Solved] Bold, Italic, Indent and Un/OrderedList tools dont work

2 Answers 104 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Shiv
Top achievements
Rank 1
Shiv asked on 14 Jul 2009, 10:32 PM
I don't know if I'm missing something but the tools bold, italic, Ordered, unorderedlist, indent, outdent don't work. Can someone please help?


 

 

 
<telerik:RadEditor ID="htmlEditor" runat="server" OnClientLoad = "OnClientLoad" 
                        AllowScripts="True" Width="100%" Height="500" Skin="Vista" EditModes="Design,Html"  > 
                        <Tools> 
                            <telerik:EditorToolGroup> 
                            <telerik:EditorTool Name="btnSave" Text="Save" ShowIcon="false" ShowText="true" /> 
                            <telerik:EditorSeparator Visible="true" /> 
                            <telerik:EditorTool Name="Cut" /> 
                            <telerik:EditorTool Name="Copy" /> 
                            <telerik:EditorTool Name="Paste" /> 
                            <telerik:EditorSeparator Visible="true" />   
                                                       
                            <telerik:EditorTool Name="Undo" /> 
                            <telerik:EditorTool Name="Redo" /> 
                              
                            <telerik:EditorSeparator Visible="true" /> 
                            <telerik:EditorTool Name="FontName"  />    
                            <telerik:EditorTool Name="RealFontSize" Text="Size"/>     
                            <telerik:EditorTool Name="ForeColor" />    
                            <telerik:EditorTool Name="Bold" ShortCut="CTRL+B" />    
                            <telerik:EditorTool Name="Italic" ShortCut="Ctrl+I" />    
                            <telerik:EditorTool Name="Underline" ShortCut="Ctrl+U" />    
                            <telerik:EditorTool Name="JustifyLeft" />    
                            <telerik:EditorTool Name="JustifyCenter" />    
                            <telerik:EditorTool Name="JustifyRight" />    
                            <telerik:EditorTool Name="InsertUnorderedList" />    
                            <telerik:EditorTool Name="InsertOrderedList" />    
                            <telerik:EditorTool Name="Indent" />    
                            <telerik:EditorTool Name="Outdent" />    
                            <telerik:EditorSeparator Visible="true" /> 
 
                            <telerik:EditorTool Name="TemplateManager" /> 
                            <telerik:EditorSeparator  Visible="true" /> 
                            <telerik:EditorTool Name="btnPreviewIE" Text="Preview IE" ShowIcon="false" ShowText="true"  /> 
                            <telerik:EditorTool Name="btnPreviewFF" Text="Preview Firefox" ShowIcon="false" ShowText="true"  /> 
                            <telerik:EditorTool Name="btnPreviewSafari" Text="Preview Safari" ShowIcon="false" ShowText="true"  /> 
                          </telerik:EditorToolGroup> 
                            
                          </Tools> 
                        <Snippets> 
                            <telerik:EditorSnippet Name="First Name">  
                                &nbsp;&nbsp;<h1>%%FirstName%%</h1> 
                            </telerik:EditorSnippet> 
                            <telerik:EditorSnippet Name="Last Name">  
                                &nbsp;&nbsp;<h1>%%LastName%%</h1>     
                            </telerik:EditorSnippet> 
                        </Snippets> 
                        <MediaManager DeletePaths="~/WebApp" UploadPaths="~/WebApp"   
                            ViewPaths="~/WebApp" /> 
                        <DocumentManager SearchPatterns="*.*"  DeletePaths="~/Common" UploadPaths="~/Common"   
                            ViewPaths="~/Common" /> 
                        <TemplateManager DeletePaths="~/Templates" UploadPaths="~/templates" ViewPaths="~/Templates" />                             
                        <Content>                  
                        </Content> 
                        <ImageManager DeletePaths="~/resources/crm/images" SearchPatterns="*.png,*.gif"   
                            UploadPaths="~/resources/crm/images" ViewPaths="~/resources/crm/images" /> 
                    </telerik:RadEditor>       

 

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 15 Jul 2009, 03:51 PM
Hi Shiv,

Was the editor editable when the page was loaded?  Did you get some JavaScript errors during the page loading? If you get errors this prevents the loading of the RadEditor scripts and the buttons will be disabled.

I saw that you have set the OnClientLoad property. Please make sure that the is a defined OnClientLoad function on the page with the editor.

If the problem still persists, please open a support ticket and send a sample fully working project that demonstrates the problem. To be able to open a support ticket you should download the trial version of the RadControls for ASP.NET AJAX installation or be a client.

All the best,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Shiv
Top achievements
Rank 1
answered on 16 Jul 2009, 02:39 PM
I was referencing few javascript files, namely ExtJS files in my page which apparently was interfering with the Telerik controls. After I removed those .js files from my page everything started working fine. Thanks for your prompt response.
Tags
Editor
Asked by
Shiv
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Shiv
Top achievements
Rank 1
Share this question
or