How can i filter out a comma in a TextBoxExtender in ASP.NET AJAX Toolkit? -


I want my textbox extender not allowed for commas and slashes. How do I set it? Use escape sequence?

Thank you.

I think you should filter the Illegal element filtered textbox expander or So can be set to filter valid or invalid characters.

  & lt; AjaxToolkit: filtered text box accelerator ID = "MyIde" runat = "server" targetcontrol id = "textbox name" filter type = "custom" filtermod = "invalid character" invalid chars = "your wallet" />  

Do not edit, you can only add all your characters that you want to exclude

  InvalidChars = " ~~! @ # $% ^ And amp; * () _- + = [] {}:; '.. & Lt; & gt; /  

Comments