locked
Stop Script being rendered on the webpage RRS feed

  • Question

  • I am trying to show a message on a label which will be coming from query strings and that message can contain html tags like hyperlinks a new lines

    as there is chance of html tags there is a chance of JS or Jquery too, but I want to use HTMLs without running or rendering the javascript on the page.

    Is this possible stopping the client side scripts being run or render with the help of aspx.cs

    • Moved by Paul Zhou Tuesday, December 6, 2011 7:05 AM off-topic (From:.NET Base Class Library)
    Monday, December 5, 2011 3:19 PM

All replies

  • Please ask ASP.NET questions in the ASP.NET forums at http://forums.asp.net/
    -cd Mark the best replies as answers!
    Monday, December 5, 2011 4:48 PM
  • Hi,

     

    Welcome to the MSDN forum.

     

    According to your description, I'd like to move your thread to off-topic because it is a problem related to ASP.NET. You may post thread in ASP.NET Forum. There are more experts in that forum so that you may get more useful help there.

     

    Thank you for your posting and understanding.

    Have a nice day.


    Paul Zhou [MSFT]
    MSDN Community Support | Feedback to us
    Tuesday, December 6, 2011 7:05 AM