Hi,
This sample used AjaxControlToolkit.
Try this if could help:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default7.aspx.cs" Inherits="Default7" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" ScriptMode="Auto">
</asp:ScriptManager>
<div>
<table width="100%">
<tr align="left">
<td>
Status:
<asp:TextBox ID="txtStatus" runat="server" Width="3%" MaxLength="3"></asp:TextBox>
<cc1:FilteredTextBoxExtender ValidChars="YesNo" FilterMode="ValidChars"
TargetControlID="txtStatus"
ID="fvtxtStatus" runat="server">
</cc1:FilteredTextBoxExtender>
</td>
</tr>
<tr>
<td>
<asp:Button ID="Button1" runat="server" Text="Button" />
</td>
</tr>
</table>
</div>
</form>
</body>
You must have a copy of
AjaxControlToolkit.dll. You may google it to have a copy...
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Regards,
Algem