Download Now Code Base AsyncDocs Contact Us
asyncTextBox
liveDemo
Enter some text into the text box to mirror the value in the AsyncLabel.

Type in the above AsyncTextBox.

Description

The AsyncTextBox you with an Async-Enabled text box server control, that features internal multi-validation.



Features
  • Select all text or a range of text during an AsyncCallback.
  • Changes it's Text value during an AsyncCallback.
  • Allows you to easily receive OnTextChanged events.
  • Allows you to implement this control as a required field by only setting one property (EnableValidation="Enabled"), no need to create a another control.
  • Has the power of an AsyncValidator built-in to ensure you do less coding.
  • Can be focused during an AsyncCallback.
  • Its an AsyncWebControl, which means that you can change it's visibility, CSS class, Left/Top coordinate, Width/Height, and ForeColor/BackColor, during an AsyncCallback.
  • Supports many of the other properties provided by asp:TextBox.
  • Functions as a regular server control if the browser does not support asynchronus operations, allowing you to support legacy browsers.
   
<%@ Register Assembly="AsyncControls" Namespace="DelvingWare.AsyncControls" TagPrefix="dw" %>

<dw:AsyncTextBox runat="server" ID="txtMain" 
Size="50" 
MaxLength="50" 
OnTextChanged="txtMain_TextChanged" />

<dw:AsyncLabel runat="server" ID="lblMain" 
RenderMode="paragraph">Type in the above AsyncTextBox.</dw:AsyncLabel>