MaskedEditExtender DisplayMoney in asp.net ajax

Ajax MaskedEditExtender DisplayMoney
UsingDisplayMoney.aspx

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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<!DOCTYPE html>
<script runat="server">
    protected void Button1_Click(object sender, EventArgs e)
    {
        Label1.Text = "You submitted salary: " + TextBox1.Text;
    }
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Ajax MaskedEditExtender DisplayMoney - How to use in MaskedEditExtender</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <h2 style="color:DodgerBlue; font-style:italic;">Ajax MaskedEditValidator Example: Using DisplayMoney</h2>
        <hr width="550" align="left" color="SkyBlue" />
        <asp:ScriptManager 
            ID="ScriptManager1"
            runat="server"
            >
        </asp:ScriptManager>
        <br /><br />
        <asp:Label 
            ID="Label1"
            runat="server"
            Font-Size="X-Large"
            ForeColor="Green"
            Font-Bold="true"
            >
        </asp:Label>
        <br /><br />
        <asp:Label 
            ID="Label2"
            runat="server"
            Text="Your Salary [9999 Format]"
            ForeColor="Orange"
            Font-Bold="true"
            >
        </asp:Label>
        <br />
        <asp:TextBox 
            ID="TextBox1"
            runat="server"
            Font-Bold="true"
            ForeColor="HotPink"
            Font-Size="Large"
            Font-Names="Comic Sans MS"
            >
        </asp:TextBox>
        <cc1:MaskedEditExtender 
            ID="MaskedEditExtender1"
            runat="server"
            TargetControlID="TextBox1"
            DisplayMoney="Left"
            Mask="9999"
            MaskType="Number"
            MessageValidatorTip="true"
            >
        </cc1:MaskedEditExtender>
        <cc1:MaskedEditValidator 
            ID="MaskedEditValidator1"
            runat="server"
            ControlToValidate="TextBox1"
            ControlExtender="MaskedEditExtender1"
            IsValidEmpty="false"
            InvalidValueMessage="inputted salary is not valid"
            EmptyValueMessage="Input salary"
            >
        </cc1:MaskedEditValidator>
        <br /><br />
        <asp:Button 
            ID="Button1"
            runat="server"
            OnClick="Button1_Click"
            Text="Submit Your Salary"
            Height="40"
            Font-Bold="true"
            ForeColor="DodgerBlue"
            />
    </div>
    </form>
</body>
</html>
Related asp.net ajax example