I have a textfield which displays a string which contains < and >. The code throws an error because of that. How can I allow the usage of those chars in my textfield?
You can either use the TextBox.Text property which will HTML-encode whatever you enter
TextBox.Text
or you can enter the html names for < and >.
<
>
or you can enter the html codes
for the name and code conversions, check out this chart.