User50461059 posted
Hi,
im using the ajax control toolkit and the html editor like in the examples
<asp:Panel ID="pnlText" runat="server" CssClass="form-box-100">
<asp:TextBox runat="server"
ID="txtText"
TextMode="MultiLine"
Columns="50"
Rows="10"
Text="" CssClass="text-editor" Width="810px" />
<ajaxToolkit:HtmlEditorExtender
ID="htmlEditorExtender1"
TargetControlID="txtText"
runat="server">
</ajaxToolkit:HtmlEditorExtender>
</asp:Panel>
<asp:Panel ID="pnlSave" runat="server" CssClass="form-box-100-right">
<asp:Button ID="btnSave" runat="server" Text="Speichern" CssClass="save-button" ValidationGroup="create" />
</asp:Panel>
my problem is, that whenever i click the enter key, it submits the page instead of adding a new line. Why is it like this? In this example it adds a new line:
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/HTMLEditorExtender/HTMLEditorExtender.aspx
Thanks alot