Editer contorl issue

2 posts, 0 answers
  1. Rathan
    Rathan avatar
    20 posts
    Member since:
    Oct 2011

    Posted 13 Mar 2012 Link to this post

    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="ReportMaster.aspx.vb" Inherits="Master_ReportMaster" %>
      
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
      
    <%@ Register src="../Header/footer.ascx" tagname="footer" tagprefix="uc1" %>
      
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      
    <head id="Head1" runat="server">
        <title>Report Master</title>
           <script language="javascript" type="text/javascript">
             function disable() {
                 if (event.button == 2) {
                     alert("Sorry no rightclick on this page.");
                 }
                 //  setInterval("window.clipboardData.setData('text','')",5);
             }
             String.prototype.trim = function() {
                 return this.replace(/^\s*/, "").replace(/\s*$/, "");
             }
        </script>
        <style type="text/css">
      
      
    .RadGrid_Outlook
    {
        font:12px/16px "segoe ui",arial,sans-serif;
    }
      
    .RadGrid_Outlook
    {
        border:1px solid #002d96;
        background:#fff;
        color:#000;
    }
      
    .RadGrid_Outlook .rgMasterTable
    {
        font:12px/16px "segoe ui",arial,sans-serif;
    }
      
    .RadGrid .rgMasterTable
    {
        border-collapse:separate;
    }
      
    .RadGrid_Outlook .rgCommandRow
    {
        background:#043199 0 -2100px repeat-x url('mvwres://Telerik.Web.UI, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.Outlook.Grid.sprite.gif');
        color:#fff;
    }
      
    .RadGrid_Outlook thead .rgCommandCell
    {
        border-bottom:1px solid #002d96;
    }
      
    .RadGrid_Outlook .rgCommandCell
    {
        border:0;
        padding:0;
    }
      
    .RadGrid_Outlook .rgCommandRow table
    {
        font:12px/16px "segoe ui",arial,sans-serif;
    }
      
    .RadGrid_Outlook .rgCommandTable
    {
        border:0;
        border-bottom:1px solid #6797d1;
    }
      
    .RadGrid_Outlook .rgCommandTable td
    {
        border:0;
        padding:2px 7px;
    }
      
    .RadGrid_Outlook .rgAdd
    {
        margin-right:3px;
        background-position:0 -1650px;
    }
      
    .RadGrid_Outlook .rgAdd
    {
        background-image:url('mvwres://Telerik.Web.UI, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.Outlook.Grid.sprite.gif');
    }
      
    .RadGrid .rgAdd
    {
        width:18px;
        height:18px;
        vertical-align:bottom;
    }
      
    .RadGrid .rgAdd
    {
        width:16px;
        height:16px;
        border:0;
        margin:0;
        padding:0;
        background-color:transparent;
        background-repeat:no-repeat;
        vertical-align:middle;
        font-size:1px;
        cursor:pointer;
    }
      
    .RadGrid_Outlook .rgCommandRow a
    {
        color:#fff;
        text-decoration:none;
    }
      
    .RadGrid_Outlook .rgRefresh
    {
        margin-right:3px;
        background-position:0 -1600px;
    }
      
    .RadGrid_Outlook .rgRefresh
    {
        background-image:url('mvwres://Telerik.Web.UI, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.Outlook.Grid.sprite.gif');
    }
      
    .RadGrid .rgRefresh
    {
        width:18px;
        height:18px;
        vertical-align:bottom;
    }
      
    .RadGrid .rgRefresh
    {
        width:16px;
        height:16px;
        border:0;
        margin:0;
        padding:0;
        background-color:transparent;
        background-repeat:no-repeat;
        vertical-align:middle;
        font-size:1px;
        cursor:pointer;
    }
      
    .RadGrid_Outlook .rgHeader
    {
        color:#000;
    }
      
    .RadGrid_Outlook .rgHeader
    {
        border:0;
        border-left:1px solid #89aee5;
        border-bottom:1px solid #5d8cc9;
        background:0 -2300px repeat-x #7da5e0 url('mvwres://Telerik.Web.UI, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.Outlook.Grid.sprite.gif');
    }
      
    .RadGrid .rgHeader
    {
        padding-top:5px;
        padding-bottom:4px;
        text-align:left;
        font-weight:normal;
    }
      
    .RadGrid .rgHeader
    {
        padding-left:7px;
        padding-right:7px;
    }
      
    .RadGrid .rgHeader
    {
        cursor:default;
    }
      
    .RadGrid_Outlook .rgPager
    {
        background:#d6e5f3;
    }
      
    .RadGrid .rgPager
    {
        cursor:default;
    }
      
    .RadGrid .rgPager td
    {
        padding:0;
    }
      
    .RadGrid_Outlook .rgPager table
    {
        font:12px/16px "segoe ui",arial,sans-serif;
    }
      
    .RadGrid_Outlook .rgPager .rgStatus
    {
        border:1px solid;
        border-width:1px 1px 0 0;
        border-color:#5d8cc9 #9cb9dc;
    }
      
    .RadGrid .rgPager .rgStatus
    {
        width:35px;
        padding:3px 0 2px;
    }
      
    .RadGrid_Outlook td.rgPagerCell
    {
        border:0;
        border-top:1px solid #5d8cc9;
        border-left:1px solid #fff;
    }
      
    .RadGrid td.rgPagerCell
    {
        border:0;
        padding:5px 0 4px;
    }
      
    .RadGrid .rgArrPart1
    {
        padding-right:0;
    }
      
    .RadGrid .rgWrap
    {
        float:left;
        padding:0 10px;
        line-height:22px;
        white-space:nowrap;
    }
      
    .RadGrid_Outlook .rgPageFirst
    {
        margin:0 3px 0 0;
        background-position:0 -550px;
    }
      
    .RadGrid_Outlook .rgPageFirst
    {
        background-image:url('mvwres://Telerik.Web.UI, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.Outlook.Grid.sprite.gif');
    }
      
    .RadGrid .rgPageFirst
    {
        margin-right:1px;
    }
      
    .RadGrid .rgPageFirst
    {
        width:22px;
        height:22px;
        vertical-align:top;
    }
      
    .RadGrid .rgPageFirst
    {
        width:16px;
        height:16px;
        border:0;
        margin:0;
        padding:0;
        background-color:transparent;
        background-repeat:no-repeat;
        vertical-align:middle;
        font-size:1px;
        cursor:pointer;
    }
      
    .RadGrid_Outlook .rgPagePrev
    {
        margin:0 3px 0 0;
        background-position:0 -700px;
    }
      
    .RadGrid_Outlook .rgPagePrev
    {
        background-image:url('mvwres://Telerik.Web.UI, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.Outlook.Grid.sprite.gif');
    }
      
    .RadGrid .rgPagePrev
    {
        margin-right:1px;
    }
      
    .RadGrid .rgPagePrev
    {
        width:22px;
        height:22px;
        vertical-align:top;
    }
      
    .RadGrid .rgPagePrev
    {
        width:16px;
        height:16px;
        border:0;
        margin:0;
        padding:0;
        background-color:transparent;
        background-repeat:no-repeat;
        vertical-align:middle;
        font-size:1px;
        cursor:pointer;
    }
      
    .RadGrid .rgNumPart
    {
        padding:0;
    }
      
    .RadGrid_Outlook .rgNumPart a.rgCurrentPage
    {
        background-position:100% -1450px;
    }
      
    .RadGrid_Outlook .rgNumPart a.rgCurrentPage
    {
        background:no-repeat url('mvwres://Telerik.Web.UI, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.Outlook.Grid.sprite.gif');
    }
      
    .RadGrid .rgNumPart a.rgCurrentPage
    {
        cursor:default;
    }
      
    .RadGrid_Outlook .rgNumPart a
    {
        color:#000;
    }
      
    .RadGrid .rgNumPart a
    {
        float:left;
        line-height:22px;
        margin:0;
        padding:0 5px 0 0;
        text-decoration:none;
    }
      
    .RadGrid_Outlook .rgNumPart a.rgCurrentPage span
    {
        background-position:0 -1350px;
    }
      
    .RadGrid_Outlook .rgNumPart a.rgCurrentPage span
    {
        background:no-repeat url('mvwres://Telerik.Web.UI, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.Outlook.Grid.sprite.gif');
    }
      
    .RadGrid .rgNumPart a.rgCurrentPage span
    {
        cursor:default;
    }
      
    .RadGrid .rgNumPart span
    {
        float:left;
        padding:0 0 0 5px;
    }
      
    .RadGrid .rgArrPart2
    {
        padding-left:0;
    }
      
    .RadGrid_Outlook .rgPageNext
    {
        margin:0 0 0 3px;
        background-position:0 -850px;
    }
      
    .RadGrid_Outlook .rgPageNext
    {
        background-image:url('mvwres://Telerik.Web.UI, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.Outlook.Grid.sprite.gif');
    }
      
    .RadGrid .rgPageNext
    {
        margin-left:1px;
    }
      
    .RadGrid .rgPageNext
    {
        width:22px;
        height:22px;
        vertical-align:top;
    }
      
    .RadGrid .rgPageNext
    {
        width:16px;
        height:16px;
        border:0;
        margin:0;
        padding:0;
        background-color:transparent;
        background-repeat:no-repeat;
        vertical-align:middle;
        font-size:1px;
        cursor:pointer;
    }
      
    .RadGrid_Outlook .rgPageLast
    {
        margin:0 0 0 3px;
        background-position:0 -1000px;
    }
      
    .RadGrid_Outlook .rgPageLast
    {
        background-image:url('mvwres://Telerik.Web.UI, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.Outlook.Grid.sprite.gif');
    }
      
    .RadGrid .rgPageLast
    {
        margin-left:1px;
    }
      
    .RadGrid .rgPageLast
    {
        width:22px;
        height:22px;
        vertical-align:top;
    }
      
    .RadGrid .rgPageLast
    {
        width:16px;
        height:16px;
        border:0;
        margin:0;
        padding:0;
        background-color:transparent;
        background-repeat:no-repeat;
        vertical-align:middle;
        font-size:1px;
        cursor:pointer;
    }
      
    .RadGrid .rgPagerLabel
    {
        margin:0 4px 0 0;
        vertical-align:middle;
    }
      
    .RadGrid .rgPager .RadComboBox
    {
        margin:0 4px 0 0;
        vertical-align:middle;
    }
      
    .RadComboBox_Default
    {
        font: 12px "Segoe UI", Arial, sans-serif;
        color: #333;
    }
      
    .RadComboBox
    {
        vertical-align: middle;
        display: -moz-inline-stack;
        display: inline-block;
    }
      
    .RadComboBox
    {
        text-align: left;
    }
      
    .RadComboBox *
    {
        margin: 0;
        padding: 0;
    }
      
    .RadComboBox table
    {
        border: 0;
        border-collapse: collapse;
    }
      
    .RadComboBox table td.rcbInputCell
    {
        padding-left: 2px;
    }
      
    .RadComboBox table td.rcbInputCell
    {
        width: 100%;
        height: 20px;
        line-height: 20px;
        vertical-align: middle;
        padding: 0;
        border: 0;
    }
      
    .RadComboBox_Default td.rcbInputCellLeft { background-position: 0 0; }
      
    .RadComboBox_Default .rcbInputCellLeft
    {
        background-image: url('mvwres://Telerik.Web.UI, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.Default.ComboBox.rcbSprite.png');
    }
      
    .RadComboBox .rcbInputCellLeft
    {
        background-color: transparent;
        background-repeat: no-repeat;
    }
      
    .RadComboBox .rcbInputCell .rcbInput
    {
        padding-left: 2px;
    }
      
    .RadComboBox .rcbReadOnly .rcbInput
    {
        cursor: default;
    }
      
    .RadComboBox .rcbInputCell .rcbInput
    {
        width: 100%;
        background: transparent;
        border: 0;
        vertical-align: middle;
        padding: 2px 0 1px;
        outline: 0;
        -webkit-appearance: none; /* iOS renders an additional shadow on the input */
    }
      
    .RadComboBox_Default .rcbInput
    {
        font: 12px "Segoe UI", Arial, sans-serif;
        color: #333;
    }
      
    .RadComboBox .rcbInput
    {
        text-align: left;
    }
      
    .RadComboBox_Default .rcbReadOnly td.rcbArrowCellRight { background-position: -2px -88px; }
      
    .RadComboBox .rcbReadOnly td.rcbArrowCell { width: 16px; }
      
    .RadComboBox table td.rcbArrowCell
    {
        width: 18px;
        padding: 0;
        border: 0;
    }
      
    .RadComboBox_Default td.rcbArrowCellRight { background-position: 0 -88px; }
      
    .RadComboBox_Default .rcbArrowCellRight
    {
        background-image: url('mvwres://Telerik.Web.UI, Version=2011.2.712.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4/Telerik.Web.UI.Skins.Default.ComboBox.rcbSprite.png');
    }
      
    .RadComboBox .rcbArrowCellRight
    {
        background-color: transparent;
        background-repeat: no-repeat;
    }
      
    .RadComboBox .rcbReadOnly td.rcbArrowCell a { width: 16px; }
      
    .RadComboBox .rcbArrowCell a
    {
        position: relative;
        outline: 0;
        overflow: hidden;
        display: block;
        width: 18px;
        height: 22px;
        cursor: default;
        text-decoration: none;
        text-indent: 9999px;
        font-size: 0;
        line-height: 1px;
    }
      
    .RadGrid_Outlook .rgInfoPart
    {
        color:#333;
    }
      
    .RadGrid .rgInfoPart
    {
        float:right;
    }
      
    .RadGrid_Outlook .rgInfoPart strong
    {
        color:#000;
    }
      
    .RadGrid .rgInfoPart strong
    {
        font-weight:normal;
    }
      
        </style>
    <script type="text/javascript" language="javascript">
      
        function DelRecord() {
            var ddlReportNo = document.getElementById('ddlReportNo');
            var cnt
            if (ddlReportNo.value.trim() == '') {
                //var cnt = confirm("Are you sure you want to delete this record?");
                alert("Report No Should Not Be Empty");
                var comboBox = $find('ddlReportNo');
                var input = comboBox.get_inputDomElement();
                input.focus();
                return false;
            }
            else {
                cnt = confirm("Are you sure you want to delete this record?");
            }
            if (cnt == true) {
                // var ddlCurrCode=document.getElementById('ddlCurrCode');
      
                if (ddlReportNo.value.trim() == '') {
                    //var cnt = confirm("Are you sure you want to delete this record?");
                    //alert("Currency Should Not Be Empty")
                    //document.getElementById('ddlCurrCode').focus();
                    return false;
                }
                else {
      
                    return true;
                }
            }
            else {
                return false;
            }
        }
      
      
        function ValidateLoginID() {
            var txtsMode = document.getElementById('txtSpeNo');
            if (txtsMode.value == 'E') {
                var ddlRegNo = document.getElementById('ddlReportNo');
                if (ddlRegNo.value == '') {
                    alert("Report No should not be empty.");
                    var comboBox = $find('ddlReportNo');
                    var input = comboBox.get_inputDomElement();
                    input.focus();
                    // document.getElementById('ddlCurrCode').focus();
                    return false;
                }
      
            }
            else {
                var txtRegNo = document.getElementById('txtReportNo');
                if (txtRegNo.value == '') {
                    alert("Report No should not be empty.");
                    document.getElementById('txtReportNo').focus();
                    return false;
                }
            }
            var ddlInvName = document.getElementById('ddlInvName');
            if (ddlInvName.value == '') {
                alert("Investigation Name should not be empty.");
                var comboBox = $find('ddlInvName');
                var input = comboBox.get_inputDomElement();
                input.focus();
                // document.getElementById('ddlCurrCode').focus();
                return false;
            }
      
    //        var editor = $find('radEditorReport'); //get a reference to RadEditor client object
    //        //then you can use:
      
    //        if (editor.get_html(true) == '') {
    //            alert("Report should not be empty.");
    //            return false;
    //        }
        }
      
    </script>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
         
      
           <table  bgcolor="white" width="98%">
            <tr>
            <!--#include file="../Menus/MenuPage.aspx"--> 
            </tr>
                <tr>
                    <td  colspan="8" align="center">
                        </td>
                </tr>
                <tr>
                    <td colspan="8">
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate>
                        <table align="center">
                            <tr>
                                <td>
                                </td>
                                <td align="center" colspan="4">
                        <asp:HyperLink ID="HyperLink1" runat="server" Font-Bold="True" Font-Names="Arial" Font-Size="Large" ForeColor="White" style="color:SteelBlue;font-family:Verdana;font-size:14pt;font-weight:bold;text-decoration:underline;">Report Master</asp:HyperLink></td>
                                <td></td>
                            </tr>
                            <tr>
                                <td>
                                     </td>
                                <td align="center" colspan="4">
                                     </td>
                                <td>
                                     </td>
                            </tr>
                            <tr>
                                <td colspan="6" align="center">
                                     <asp:Button ID="btnAdd" runat="server" Text="Add" Width="87px" AccessKey="A"  
                                         ToolTip="Alt+a" TabIndex="14" BackColor="SteelBlue" Font-Names="Verdana" 
                                         Font-Size="8.5pt" ForeColor="White" Height="19px" /> 
                       <asp:Button ID="BtnSave" runat="server"  Text="Save"  Width="87px" AccessKey="S" ToolTip="Alt+s"  style="color:White;background-color:SteelBlue;font-family:Verdana;font-size:8.5pt; height: 21px;"  TabIndex="15"/> 
                     <asp:Button ID="btnEdit" runat="server" Text="Edit" Width="83px" AccessKey="E" ToolTip="Alt+e"  style="color:White;background-color:SteelBlue;font-family:Verdana;font-size:8.5pt;"  TabIndex="16"/> 
                      <asp:Button ID="btnDel" runat="server" Text="Delete" Width="83px" AccessKey="L"  ToolTip="Alt+l"  style="color:White;background-color:SteelBlue;font-family:Verdana;font-size:8.5pt;"  TabIndex="17"/> 
                       <asp:Button ID="btnClear" runat="server" Text="Clear" Width="83px" AccessKey="C" ToolTip="Alt+c"  style="color:White;background-color:SteelBlue;font-family:Verdana;font-size:8.5pt;"  TabIndex="18"/></td>
                            </tr>
                            <tr>
                                <td align="center" colspan="6">
                                    <asp:Label ID="lblResult" runat="server" Font-Bold="True" Font-Names="Verdana" Font-Size="8.5pt"
                                        ForeColor="Maroon" Width="448px"></asp:Label></td>
                            </tr>
                            <tr>
                                <td>
                                     </td>
                                <td align="center" colspan="2">
                                     </td>
                                <td>
                                     </td>
                                    <td>
                                     </td>
                                     <td>
                                     </td>
                            </tr>
                            <tr
                              
                  <td> <asp:Label ID="Label2" runat="server" Text="Report No:" Width="98px"  Font-Names="Verdana" Font-Size="8.5pt" ForeColor="Maroon" Height="16px"></asp:Label></td>
                  <td
                      <asp:TextBox ID="txtReportNo" runat="server" style="color:Black;background-color:White;font-family:Verdana;font-size:8.5pt;" Enabled="False" TabIndex="1"></asp:TextBox>
                        
                      <telerik:RadComboBox ID="ddlReportNo" runat="server"  AutoPostBack="True"  TabIndex="1" EnableViewState="false" EmptyMessage="Select a ReportNo"  EnableLoadOnDemand="True"  AllowCustomText="True"   MarkFirstMatch="True"  style="color:Black;background-color:White;font-family:Verdana;font-size:8pt;" Skin="Sunset" DropDownCssClass="RadComboBox_Sunset" EnableEmbeddedSkins="False" BorderColor="#999999" BorderStyle="Solid" BorderWidth="2px" Font-Names="verdana" Font-Size="8.5pt" EnableVirtualScrolling="True" ShowMoreResultsBox="True">
                      </telerik:RadComboBox>
                            
                          <span style="font-size: 8pt; color: maroon">*</span>
                    </td>
                  <td> <asp:Label ID="Label3" runat="server" Text="Investigation Name:" Width="120px"  Font-Names="Verdana" Font-Size="8.5pt" ForeColor="Maroon" Height="16px"></asp:Label></td>
                  <td
                      <telerik:RadComboBox ID="ddlInvName" runat="server" AutoPostBack="True"  TabIndex="2" EnableViewState="false" EmptyMessage="Select a Investigation"  EnableLoadOnDemand="True"  AllowCustomText="True"   MarkFirstMatch="True"  style="color:Black;background-color:White;font-family:Verdana;font-size:8pt;" Skin="Sunset" DropDownCssClass="RadComboBox_Sunset" EnableEmbeddedSkins="False" BorderColor="#999999" BorderStyle="Solid" BorderWidth="2px" Font-Names="verdana" Font-Size="8.5pt" EnableVirtualScrolling="True" ShowMoreResultsBox="True">
                      </telerik:RadComboBox>
                      <span style="font-size: 8pt; color: maroon">*</span>
                    </td>
                    <td><asp:Label ID="Label20" runat="server" Text="Department:" Width="80px"  Font-Names="Verdana" Font-Size="8.5pt" ForeColor="Maroon" Height="16px"></asp:Label></td>
                    <td>
                     <asp:TextBox ID="txtDept" runat="server" style="color:Black;background-color:White;font-family:Verdana;font-size:8.5pt;" Enabled="False" TabIndex="3"></asp:TextBox>
                    </td>
                  
                </tr>
                             
                            <tr>
                                <td>
                                     </td>
                                <td>
                                    <asp:Button ID="btnReport" runat="server" Text="Report" 
                                        style="color:White;background-color:SteelBlue;font-family:Verdana;font-size:8.5pt;" 
                                        Visible="False"/></td>
                                <td>
                                     </td>
                                <td>
                                     </td>
                                <td>
                                     </td>
                                <td>
                                     </td>
                            </tr>
                             
                            
                            <tr>
                                <td colspan="6">
                                 
                                <table align="center" width="100%">
                              <tr>
                              <td align="center">
                             
      
                                  <telerik:RadEditor ID="radEditorReport"  runat="server" SkinID="DefaultSetOfTools" Height="600" Width="750">
                   
                  <Tools>
                    <telerik:EditorToolGroup Tag="MainToolbar">
                        <telerik:EditorTool Name="FindAndReplace" />
                        <telerik:EditorSeparator />
                        <telerik:EditorTool Name="Cut" />
                        <telerik:EditorTool Name="Copy" />
                        <telerik:EditorTool Name="Paste" ShortCut="CTRL+V" />
                    </telerik:EditorToolGroup>
                    <telerik:EditorToolGroup Tag="Formatting">
                        <telerik:EditorTool Name="Bold" />
                        <telerik:EditorTool Name="Italic" />
                        <telerik:EditorTool Name="Underline" />
                        <telerik:EditorSeparator />
                        <telerik:EditorTool Name="ForeColor" />
                        <telerik:EditorTool Name="BackColor" />
                        <telerik:EditorSeparator />
                        <telerik:EditorTool Name="FontName" />
                        <telerik:EditorTool Name="RealFontSize" />
                          
                    </telerik:EditorToolGroup>
                    <telerik:EditorToolGroup Tag="Image">
                     <telerik:EditorTool Name="ImageManager" />
                    </telerik:EditorToolGroup>
                </Tools>
                   
                 <ImageManager ViewPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations" UploadPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations" DeletePaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations">
                                </ImageManager>
                                  
                
                <FlashManager ViewPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations" UploadPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations" DeletePaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations" />
                <MediaManager ViewPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations" UploadPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations" DeletePaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations" />
                <DocumentManager ViewPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations" UploadPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations" DeletePaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations" />
                <TemplateManager ViewPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations" UploadPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations" DeletePaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"/>
                                  </telerik:RadEditor
                                  
                                  </td>
                              </tr>
                                </table>
                                  
                               
                                    </td>
                            </tr>
                             
                            <tr>
                                <td colspan="6">
                                     
                                    
                                    
                                </td>
                            </tr>
                             
                              
                            </tr>
                             
                            <tr>
                                <td align="center" colspan="6">
                                      
                                    <asp:TextBox ID="txtSpeNo" runat="server" BorderStyle="None" ForeColor="White" Height="10px"
                                        Width="100px"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td align="center" colspan="3">
                                     </td>
                            </tr>
                            
                        </table>
                        </ContentTemplate>
                        </asp:UpdatePanel>
                        </td>
                        </tr>
                          <tr>
                                <td align="center" colspan="6">
           <uc1:footer ID="footer1" runat="server" />
                          </td>
                            </tr>
        </div>
        </form>
         
         
    </body>
    </html>

    hi sir,
    i am sending Editer controls,these control one problam created sir, insert sucessfully,but edit mode is enter combox text ofter error comeing .i am attach file .plz sir this soluetion tell me .

    thanks

    Rathan kumar.k 

  2. Richard
    Richard avatar
    479 posts
    Member since:
    Nov 2011

    Posted 15 Mar 2012 Link to this post

    Rathan:

    I think the cause of your error is due to the fact that when you click your save button it causes a postback and your RadEditor is losing its focus. This can cause the error: 'htmlfile: Could not complete the operation due to error 800a025e.'.

    Take a look at this forum thread which provides a potential JavaScript solution for setting focus on your RadEditor using the RadEditor's OnClientLoadLoad event. Telerik Admin Rumen's post provides the required code for your case of using an asp:UpdatePanel.

     radEditor setFocus problem

    Hope this helps!
Back to Top