troubleshooting Question

<asp:TextBox> Doesn't Like <HTML> Tags

Avatar of champ_010
champ_010 asked on
4 Comments1 Solution476 ViewsLast Modified:
I am using an <asp:TextBox> to capture user input but get an error warning if words/characters typed in it resemble html.  I do not actually want <html> tags typed in the textbox to display as HTML, but I really want to get rid of the error that shows when submitting the page.

    (ie: if someone typed "<strong>My Text</strong>", it does not have to make the text My Text    
          bolded.  I should just show "<strong>My Text</strong>"

How can I take whatever is typed--even if it resembles HTML and not get an error?

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros