AjaxToolKit and javascript turned off

Last post 07-02-2009 9:17 PM by yjaved. 1 replies.

Sort Posts:

  • AjaxToolKit and javascript turned off

    07-02-2009, 7:29 PM
    • Member
      175 point Member
    • icm63
    • Member since 10-23-2004, 11:32 PM
    • New Zealand
    • Posts 461

    What happens when javascript is turned off, I have used the ajaxtoolkit exstensively over my website...

    If Ajaxtoolkit controls fails while javascript is off, can I do  test of javascript (on/off) and send user away from my page(s) to an error page "Please turn Javascript on before using this page xxx" or else !! 

    Is there a method/control for this safety check ???

    icm63
  • Re: AjaxToolKit and javascript turned off

    07-02-2009, 9:17 PM
    Answer
    • Participant
      1,113 point Participant
    • yjaved
    • Member since 10-08-2007, 12:00 AM
    • KL, Malaysia
    • Posts 227

     to check weahter javascript is enabled or not read this

    http://www.codeproject.com/KB/user-controls/CheckJavascriptEnabled.aspx

    or

    <script type="text/javascript">

      document.write("<p>JavaScript is enabled.</p>");

    </script>

    <noscript>

      JavaScript is not enabled or not supported.

    </noscript>

    ASP.NET Best site ever
    Mark as ans if got your answer.because it will be used for the readers of the forum
Page 1 of 1 (2 items)