se non l'hai messo prova ad aggiungere nel filtro del campo testo un Server.HtmlEncode()