Welcome to Support forums Sign in | Join | Help Messenger
        Cute Editor
                   Leading ASP.NET Online HTML Editor
   Home| Online Demo| Advanced Topics| Common Tasks| Forums| Requirements| Document| Developer's Guide| Downloads| Order
Getting Started
Basic Examples
Input and Output
Interface Customization
Advanced Topics

Use MaxHTMLLength or MaxTextLength to Protect Your Database


We often use a database backend such as SQL Server to store data. In such databases, you have to specify the length of any textual field when a table is designed. If you tried to insert a record whose text length is greater than allowed by your table, an error will be reported.

To prevent this type of error from occurring, developers can use MaxHTMLLength or MaxTextLength in the Cute Editor to limit the length of the user’s input.

Try click the submit button.




Example Code

<CE:Editor MaxHTMLLength=100 id="Editor1" ThemeType="Office2003_BlueTheme" AutoConfigure="Simple"runat="server"></CE:Editor>