ValidatorCalloutExtender PopupPosition in asp.net ajax

Ajax ValidatorCalloutExtender PopupPosition
UsingPopupPosition.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 = "Your City: " + TextBox1.Text;
    }
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Ajax ValidatorCalloutExtender PopupPosition - How to use PopupPosition</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <h2 style="color:DarkBlue; font-style:italic;">Ajax ValidatorCalloutExtender Example: Using  PopupPosition</h2>
        <hr width="600" align="left" color="SlateBlue" />
        <asp:ScriptManager 
            ID="ScriptManager1"
            runat="server"
            >
        </asp:ScriptManager>
        <cc1:ValidatorCalloutExtender 
            ID="ValidatorCalloutExtender1"
            runat="server"
            TargetControlID="RequiredFieldValidator1"
            PopupPosition="BottomRight"
            >
        </cc1:ValidatorCalloutExtender>
        <asp:Label 
            ID="Label1"
            runat="server"
            ForeColor="Salmon"
            Font-Size="Large"
            Font-Names="Comic Sans MS"
            >
        </asp:Label>
        <br /><br />
        <asp:Label 
            ID="Label2"
            runat="server"
            Text="City Name"
            Font-Bold="true"
            ForeColor="SandyBrown"
            BackColor="Snow"
            >
        </asp:Label>
        <asp:RequiredFieldValidator 
            ID="RequiredFieldValidator1"
            runat="server"
            ControlToValidate="TextBox1"
            ErrorMessage="Input your city!"
            Display="None"
            >
        </asp:RequiredFieldValidator>
        <asp:TextBox 
            ID="TextBox1"
            runat="server"
            BackColor="SandyBrown"
            ForeColor="Snow"
            Font-Bold="true"
            >
        </asp:TextBox>
        <asp:Button 
            ID="Button1"
            runat="server"
            Text="Submit City"
            Height="40"
            Font-Bold="true"
            ForeColor="SandyBrown"
            OnClick="Button1_Click"
            />
    </div>
    </form>
</body>
</html>
Related asp.net ajax examples