Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
2.33/5 (2 votes)
See more:
How to Enable JavaScript in End user's browser by using ASP.NET/C# ??
Posted

Simple answer, you cannot! If this is possible it would be "intrusive", which nobody would approve of. However, if javascript is disabled, you can provide informational messages!

Check this out - noscript tag[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 5-Nov-13 20:51pm    
Well explained, a 5.
—SA
Karthik. A 7-Nov-13 14:41pm    
Thank you!
You can not. Better to say,you should not. You can check whether its enabled or not.

See this : Detect if JavaScript is enabled in ASPX[^]

Regards...
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 5-Nov-13 20:51pm    
5ed.
—SA
Thanks7872 5-Nov-13 23:27pm    
Thanks Sergey.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900