Tabbing in and out of Cute Editor

  •  04-13-2009, 1:25 PM

    Tabbing in and out of Cute Editor

    I modified your multiple.aspx and just added a text box above the edit box and set the tabspaces=-1 for each of the edit boxes. When it is run and you click in the text box then press TAB the focus is on the edit box but just around the edit box and not inside where someone could type. How do I get it to enter into the edit box so you can type?
     
    Here is the code:
    ======================

    <%@ Page Language="vb"%>

    <%@ Register TagPrefix="cutesoft" TagName="banner" Src="banner.ascx" %>

    <%@ Register TagPrefix="cutesoft" TagName="leftmenu" Src="leftmenu.ascx" %>

    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>

    <html>

    <head>

    <title>ASP and ASP.NET WYSIWYG Editor - Multiple Editors in one page</title>

    <link href="example.css" rel="stylesheet" type="text/css" />

    </head>

    <body>

    <form runat="server">

    <cutesoft:banner id="banner1" runat="server" />

    <table>

    <tr>

    <td valign="top" nowrap id="leftcolumn" width="160">

    <cutesoft:leftmenu id="leftmenu1" runat="server" />

    </td>

    <td width="20" nowrap></td>

    <td valign="top" width="760">

    <h1>

    <asp:TextBox ID="TextBox1" runat="server" TabIndex="1"></asp:TextBox>&nbsp;</h1>

    <CE:EDITOR id="Editor1" EditorWysiwygModeCss="example.css" runat="server" Height="200" ThemeType="Office2007" AutoConfigure="Simple" TabIndex="1" TabSpaces="-1">

     

    </CE:EDITOR><br/>

    <CE:EDITOR id="Editor2" EditorWysiwygModeCss="example.css" runat="server" Height="200" ThemeType="Office2003" AutoConfigure="Simple" TabIndex="2" TabSpaces="-1">

     

    </CE:EDITOR><br/>

    <asp:Button id="btnUpdate" onclick="Submit" Runat="server" Text="Show HTML"></asp:Button>

    </td>

    </tr>

    </table>

    </form>

    </body>

    </html>

    <script runat="server">

    Public Sub Page_Load(sender As object, e As System.EventArgs)

    If Not Page.IsPostBack Then

    Editor1.Text = "<h3 style=""COLOR: red"">1. Easy for developers</h3>"

    Editor2.Text = "<h3 style=""COLOR: #339966"">2. Seamless Integration with Web Forms</h3>"

    End If

    End Sub

     

    Public Sub Submit(sender As object, e As System.EventArgs)

    End Sub

    </script>

    ===================
View Complete Thread