You can use Javascript. call this following function on
onblur event of textbox. here is javascript function
if(!(document.getElementById(txtBox).value-indexOf("(")== "-1" || document.getElementById(txtBox).value-indexOf(")")== "-1" ))
{
alert("Brackets are not allowed");
return false;
}