I need assistance with a multi-line text box that I'm using an AJAX FilteredTextBoxExtender on to restrict user input to just numbers. However, I also want users to be able to add a new line by pressing the enter key. I've looked around for a solution but haven't been successful. Does anyone have any ideas on how to achieve this?
Thank you in advance!
Below is the code snippet I am referring to:
<asp:TextBox ID="txtEIDEntryBox" runat="server" CssClass="PrettyEntryBox" TextMode="MultiLine" Height="300px" Width="100px"></asp:TextBox>
<ajaxToolkit:FilteredTextBoxExtender ID="ftbeEID"
runat="server"
TargetControlID="txtEIDEntryBox"
FilterType="Custom" ValidChars="0123456789"></ajaxToolkit:FilteredTextBoxExtender>