Ajax Control Toolkit Filter Types
<p>I've a radiobuttonlist and an textbox like this ;</p>

<pre><code>  &lt;asp:RadioButtonList ID="RadioButtonFirm" runat="server" AutoPostBack="true" RepeatDirection="Horizontal"
                            OnSelectedIndexChanged="RadioButtonFirm_SelectedIndexChanged"&gt;
                            &lt;asp:ListItem id="option1" runat="server" Value="Code - int" /&gt;
                            &lt;asp:ListItem id="option2" runat="server" Value="Name - string" /&gt;
  &lt;/asp:RadioButtonList&gt;



&lt;asp:TextBox ID="txtCriteria" Width="120px" SkinID="TextBoxDefault" runat="server"&gt;&lt;/asp:TextBox&gt;
                            &lt;asp:FilteredTextBoxExtender ID="txtCriteria_FilteredTextBoxExtender" runat="server"
                                Enabled="True" FilterType="Numbers" TargetControlID="txtCriteria"&gt;
&lt;/asp:FilteredTextBoxExtender&gt;
</code></pre>

<p>Code behind :</p>

<pre><code> protected void RadioButtonFirm_SelectedIndexChanged(object sender, EventArgs e)
    {
        if (RadioButtonFirm.SelectedIndex == 0)
        {
            txtCriteria_FilteredTextBoxExtender.FilterType = AjaxControlToolkit.FilterTypes.Numbers;            
        }
        else
        {           
            txtCriteria_FilteredTextBoxExtender.FilterType = AjaxControlToolkit.FilterTypes.Custom;
        }
    }
</code></pre>

<p>It's not working. If I changed radiobuttonlist, I still can enter string values. I want to enter integer or string to textbox according to radiobutton selection.</p>
