See technical demos of the new features in the Dev Tools Q2'15 release. Sign up for the webinar.

RadTextBox - Telerik ASP.NET TextBox

Username:
Password:
Comment:
Isolate this demo as a stand-alone application

Telerik RadTextBox is a highly customizable component for text inputs in ASP.NET applications. It shares the common properties of all RadInput controls, including support for skins, styles for different states, empty message support, conditional postback on text change, flexible caret and button positioning, labels, and so on.

About RadTextBox for ASP.NET AJAX

When you need data entry control combined with strict validation, Telerik TextBox control for ASP.NET AJAX is the perfect match. RadTextBox accept all characters (alphabet, numeric and symbols) and can also be used for entering passwords. The control exposes the Password Strength Checker feature which allows you to specify your custom criteria for password strength and visualize an indicator to inform the user how strong is the typed password according to this criteria.

RadTextBox and 80+ other controls are part of UI for ASP.NET AJAX, a comprehensive toolset taking care of the common functionality of your application, while leaving you with more time to work on its business logic.

Key Features

  • Rich client-side API
  • Keyboard and mouse wheel support.
  • The ability to add labels and buttons that are associated with the input control.
  • Single-line, password, and multi-line modes.
  • AutoComplete support in participating browsers.
  • MaxLength property to define the max length of characters allowed to be entered.
  • Empty message support.
  • Client/Server side data validation.
  • Advanced Skinning - The visual appearance of the Input control can be easily customized through skins.

<%@ Page Language="c#" AutoEventWireup="true"  %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-containers">
        <div class="demo-container wrapper">
            <div class="demo-container demo-content">
                <asp:Label ID="Label1" runat="server" Text="Username:" Width="80px"></asp:Label>
                <telerik:RadTextBox runat="server" ID="RadTextBox1" Width="216px" EmptyMessage="Enter username"></telerik:RadTextBox><br />

                <asp:Label ID="Label2" runat="server" Text="Password:" Width="80px"></asp:Label>
                <telerik:RadTextBox runat="server" ID="RadTextBox2" Width="216px" TextMode="Password"></telerik:RadTextBox><br />

                <asp:Label ID="Label3" runat="server" Text="Comment:" Width="80px"></asp:Label>
                <telerik:RadTextBox runat="server" ID="RadTextBox3" Width="216px" EmptyMessage="Enter comment" TextMode="MultiLine" Height="100px" Resize="None"></telerik:RadTextBox><br />

                <telerik:RadButton runat="server" ID="RadButton1" Text="Sign in" CssClass="submitButton" Width="100px" Style="float:right;"></telerik:RadButton>
            </div>
        </div>
    </div>

    </form>
</body>
</html>

Support & Learning Resources

Find Assistance

Help Us Improve

Was this example helpful?