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

RadEditor version 2008.1.515.20 ReadOnly mode

3 Answers 108 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 22 Aug 2008, 06:12 PM
Hi, I am trying to make a RadEditor readonly, Enabled = false doesn't work because any long text does not wrap and is not readable.  Version of RadControls is 2008.1.515.20.  Also, the Editor is nested in a RadPanel.  Thanks

Gary

3 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 25 Aug 2008, 03:36 PM
Hi Gary,

I tested the behavior using the latest version of RadEditor 723 and everything worked fine - please find attached a sample video that demonstrates my test. Could you test the behavior using the latest version? If the problem is still observed, please open a support ticket and send us a sample runnable project where the issue can be observed, along with the exact steps to do so. We will check it locally and do our best to provide a solution.

Kind regards,
George
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Gary
Top achievements
Rank 1
answered on 26 Aug 2008, 12:48 PM
Thanks for your response.  But, it does not work within a RadPanel.  Here's a simple html page with an example...

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RadPanelWithEditor.aspx.cs" Inherits="MIDI_Internal.Lookups.RadPanelWithEditor" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server">  
    <title>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server">  
    <div> 
        <asp:ScriptManager ID="ScriptManager1" runat="server">  
        </asp:ScriptManager> 
 
        <telerik:RadPanelbar ID="rpbDisposalCode" runat="server" Skin="Outlook" ExpandMode="MultipleExpandedItems"   
        CausesValidation="true" AllowCollapseAllItems="true" CollapseAnimation-Type="InOutElastic" Width="100%">  
            <Items> 
                <telerik:RadPanelItem runat="server" Text="Disposal Code" Expanded="true" Value="DisposalCode" > 
                    <ItemTemplate> 
                        <asp:Label ID="lblDisposalCode" Text="Disposal Code" runat="server" />&nbsp;<asp:TextBox runat="server" ID="txtDisposalCode" ReadOnly="true" Text="A001" /> 
                    </ItemTemplate> 
                </telerik:RadPanelItem> 
                <telerik:RadPanelItem Text="Disclaimer" Value="DisclaimerTop" runat="server" Expanded="false" >    
                   <Items> 
                        <telerik:RadPanelItem runat="server" Text="" Value="Disclaimer" Expanded="false">  
                            <ItemTemplate> 
                                <telerik:RadEditor enabled="false" runat="server" ID="radEdDisclaimer" > 
                                    <Content> 
                                    Very Long Text here. Very Long Text here. Very Long Text here.Very Long Text here. Very Long Text here. Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.Very Long Text here.   
                                    It Does not work or wrap in radpanel  
                                      
                                    </Content> 
                                </telerik:RadEditor> 
                            </ItemTemplate> 
                        </telerik:RadPanelItem>    
                   </Items> 
                </telerik:RadPanelItem> 
            </Items> 
        </telerik:RadPanelbar> 
 
    </div> 
    </form> 
</body> 
</html> 
0
George
Telerik team
answered on 26 Aug 2008, 03:21 PM
Hi Gary,

Thank you for the provided code.

I was able to reproduce and fix the problem - please find attached your modified ASPX.

I hope this helps.

Sincerely,
George
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Gary
Top achievements
Rank 1
Answers by
George
Telerik team
Gary
Top achievements
Rank 1
Share this question
or