Tuesday, July 17, 2012

AJAX/C# - enable line break in Multiline textbox protected by filter textbox

If you want to protect your Multiline textbox by AJAX FilteredTextBoxExtender, you are going to have to add this on code behind to enable line-break (the Enter as you type):



tb_filter_01.ValidChars = tb_filter_01.ValidChars + "\r\n";



Cheers!

No comments:

Post a Comment