• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 300
  • Last Modified:

allow html in input

I get an error when submitting html in my input box.

I tryed to solve the problem by setting the ValidateRequest tag in the @Page Directive to false, but it dosen´t help.

Does anybody have an alternative solution?
0
Jesper Christensen
Asked:
Jesper Christensen
  • 2
2 Solutions
 
eugenbvCommented:
Do you have a html input or <asp:TextBox />.
Tested with asp control and ValidateRequest false and works.
0
 
Jesper ChristensenProgrammerAuthor Commented:
Bartvd: I´ve tried to follow the article and it works in a new VS project, but not in my existing project.

eugenby: <asp;TextBox />

Can there be some global setting who is wrong?
0
 
Jesper ChristensenProgrammerAuthor Commented:
It works now :) Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now