Hello,

I have noticed that when you display javascript in a datagrid in C#
3+, it will strip the javascript content (e.g. <script> tags, curly
braces etc.). I did not know this and was wondering if anybody knew if
this functionality was exposed to developers? I have created regex
libraries to do this in the past. However, if the functionality
already exists, it would be great.

I have checked-out the AnitXSS library and it just does an encode.
Which is valuable in it's own rite. However, scrubbing the string data
is far more valuable, at least in my situation.

Thanks in advance!

rbr

Reply via email to