I have a requirement that user can input HTML tags in the ASP.NET TextBox. The value of the textbox will be saved in the database and then we need to show it 
on some other page what he had entered. SO to do so I set the `ValidateRequest="false"` on the Page directive.
Now the problem is that when user input somthing like :

```
<script> window.location = 'http://www.xyz.com'; </script>

```

Now its values saved in the database, but when I am showing its value in some other page It redirects me to `"http://www.xyz.com"` which is obvious 
as the javascript catches it. But I need to find a solution as I need to show exactly what he had entered.
I am thinking of Server.HtmlEncode. Can you guide me to a direction for my requirement