You guys are right...only if the browser supports it...
Thanks, Shawn Wildermuth Wildermuth Consulting Services, LLC http://adoguy.com C# MVP, MCSD.NET, Author and Speaker > -----Original Message----- > From: Discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Heath > Sent: Monday, September 11, 2006 3:23 AM > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: Re: [ADVANCED-DOTNET] Javascript Disabled > > Arent those properties static values? > As configured in machine.config or some other browser config? > > I always thought Browser.JavaScript == true meant: browser is > capable of javascript but not that it is enabled or not at > the clients computer. > > // Ryan > > On 9/11/06, Shawn Wildermuth <[EMAIL PROTECTED]> wrote: > > if (Request.Browser.JavaScript) > > { > > // Can JScript > > } > > else > > { > > // Can't > > } > > > > Thanks, > > > > Shawn Wildermuth > > Wildermuth Consulting Services, LLC > > http://adoguy.com > > C# MVP, MCSD.NET, Author and Speaker > > > > > > > -----Original Message----- > > > From: Discussion of advanced .NET topics. > > > [mailto:[EMAIL PROTECTED] On Behalf Of Shawn > > > Wildermuth > > > Sent: Monday, September 11, 2006 12:48 AM > > > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > > > Subject: Re: [ADVANCED-DOTNET] Javascript Disabled > > > > > > Isn't this in the BrowserCaps? I don't have MSDN with me, but I > > > thought it was mentioned there. > > > > > > > > > Thanks, > > > > > > Shawn Wildermuth > > > Wildermuth Consulting Services, LLC > > > http://adoguy.com > > > C# MVP, MCSD.NET, Author and Speaker > > > > > > > > > > -----Original Message----- > > > > From: Discussion of advanced .NET topics. > > > > [mailto:[EMAIL PROTECTED] On Behalf Of > > > Frans Bouma > > > > Sent: Sunday, September 10, 2006 7:41 AM > > > > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > > > > Subject: Re: [ADVANCED-DOTNET] Javascript Disabled > > > > > > > > > How do I know if Javascript is disabled in the browser from > > > > ASP.NET. > > > > > In the past we have used BrowserHawk but this present > > > > project cannot > > > > > afford this. > > > > > The Browser.JavaScript object just lets me know that > the browser > > > > > supports javascript, not that it is disabled. I know > I can set > > > > > a hidden form field with javascript but that will only work > > > > when a form > > > > > is posted back to the server. > > > > > > > > > > Has anyone any idea how I can achieve this? > > > > > > > > An old trick was that you have a common start page, > > > and from > > > > there, redirect with javascript to a different page. > > > > There, you set a flag and redirect back to the main page, which > > > > now doesn't contain the javascript redirect code because of the > > > flag (in > > > > the session). > > > > > > > > FB > > > > > > > > =================================== > > > > This list is hosted by DevelopMentor. http://www.develop.com > > > > > > > > View archives and manage your subscription(s) at > > > > http://discuss.develop.com > > > > > > > > > > =================================== > > > This list is hosted by DevelopMentor. http://www.develop.com > > > > > > View archives and manage your subscription(s) at > > > http://discuss.develop.com > > > > > > > =================================== > > This list is hosted by DevelopMentor(r) http://www.develop.com > > > > View archives and manage your subscription(s) at > > http://discuss.develop.com > > > > =================================== > This list is hosted by DevelopMentorR http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com