How to Determine JavaScript Enabled on Server-Side

S

Steve Murphy

How do you determine whether JavaScript is enabled from your C# code on the
server-side?

Thanks.
 
R

Rick Strahl [MVP]

There's really no easy way to test unless you send a page to the client and
have some script code do something like set a value in a hidden form var and
then return this value. If it's set you know that Javascript works.

+++ Rick ---

--

Rick Strahl
West Wind Technologies
www.west-wind.com
www.west-wind.com/weblog
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,044
Latest member
RonaldNen

Latest Threads

Top