Thursday, March 22, 2012

tags in textbox

Hi Im using ASP.NET and C#

and I want to insert tags in a text box but its giving me an error that its a dangerous attempt so can I set any validation to allow that

Hi,

you can use theValidateRequest property to turn that on or off. Be mindfull that this opens your pages for potential hacks though so use with care.

You can also take a look at theAnti Cross Site Scripting library.

Grz, Kris.

0 comments:

Post a Comment