<script runat="server">
protected void Button1_Click(object sender, EventArgs e)
{
if (PeterBlum.DES.Globals.WebFormDirector.IsValid)
{
}
}
</script>
To show an error, click the button for the <span class="PropertyName">BlinkOnSubmit</span> behavior. It will blink
continuously. The type 'abc' into the textbox and tab off for the <span class="PropertyName">BlinkOnChange</span> behavior.
It will blink 3 times.<br/><br/>
<des:PageManager ID="PageManager1" runat="server" BlinkOnSubmit="On" BlinkOnChange="Three" />
<asp:TextBox ID="TextBox1" runat="server" />
<des:RequiredTextValidator ID="RequiredTextValidator1" runat="server"
ControlIDToEvaluate="TextBox1" ErrorMessage="Required" >
<ErrorFormatterContainer>
<des:TextErrorFormatter Display="Dynamic" />
</ErrorFormatterContainer>
</des:RequiredTextValidator>
<des:DataTypeCheckValidator ID="DTC1" runat="server" ControlIDToEvaluate="TextBox1"
DataType="Integer" ErrorMessage="Illegal format. Only digits are allowed." />
<br/>
<des:Button ID="Button1" runat="server" Text="Submit" />