[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 298
  • 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 ChristensenAuthor 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 ChristensenAuthor Commented:
It works now :) Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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