allow html in input

Posted on 2011-05-05
Last Modified: 2013-12-16
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?
Question by:bongii
    LVL 6

    Accepted Solution

    LVL 3

    Assisted Solution

    Do you have a html input or <asp:TextBox />.
    Tested with asp control and ValidateRequest false and works.

    Author Comment

    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?

    Author Comment

    It works now :) Thanks

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
    Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    This video discusses moving either the default database or any database to a new volume.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now