asp.net without JavaScript

The UK government are issuing guidelines for all government web sites which includes the requirement that there must be an alternative to javascript in web pages.  So how does this affect asp.net?  You could modify the controls you use to add <NOSCRIPT> elements to the output, but this would be quite a large task.  A better approach would be to only use the server controls that do not need javascript for the postback.

At first I thought this would be a major headache, but it turns out that only the following standard controls use javascript (taken from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbconclientscriptinwebforms.asp):

  • The LinkButton and HtmlButton server controls require script. (This is not true for the Button Web server control or the HtmlInputButton or HtmlInputImage controls.)
  • By default, the Calendar control implements month navigation and day selection using LinkButton controls. If you set control properties to allow users to select a day, week, or month, or if you allow users to navigate to other months, then the Calendar control will generate client script. If you use the Calendar control simply to display a single month with no selection or navigation, the control does not require client script.
  • Any Web server control whose AutoPostBack property is set to true; the client script is required so that the control will post the page.
  • The Web validation controls, which require client script to support client-side validation. If the client does not support script, validation will run on the server only.

So in fact if you don't use these controls - and it is perfectly possible to live without them (though of course the user experience could suffer slightly) it's not a problem at all!

 

 

posted @ Monday, March 15, 2004 12:08 PM

Print

Comments on this entry:

# Doxycicline.

Left by Doxycicline. at 3/27/2008 8:12 PM
Gravatar
Doxycicline.

# Celebrex.

Left by Celebrex. at 3/27/2008 11:28 PM
Gravatar
Celebrex.

# Buy phentermine online.

Left by Buy phentermine diet pill. at 3/28/2008 4:59 AM
Gravatar
Buy phentermine cod. Phentermine sales gt buy phentermine online. Buy no phentermine prescription. Buy phentermine order cheap online. Buy cheap phentermine fre.

# Re phentermine cheap no prescription extra cheap.

Left by Extra cheap phentermine. at 3/28/2008 9:32 AM
Gravatar
Extra cheap phentermine.

# Buy xanax online.

Left by No rx online xanax. at 3/28/2008 1:34 PM
Gravatar
Buying xanax online next delivery. Xanax online. Buy xanax online shipped overnight. My blog order xanax mg xanax cheap xanax online. Buy xanax online right now. Buy no xanax online prescription all on one site.

# Effects interactions drug lorazepam.

Left by Lorazepam. at 3/28/2008 2:07 PM
Gravatar
Lorazepam. Lorazepam is prescribed for. Lorazepam side effects overdose.

# Buy tramadol online cod.

Left by Tramadol cod. at 4/8/2008 9:43 AM
Gravatar
Tramadol cod. Cod overnight tramadol.

# Car loan calculator.

Left by Car loan. at 4/18/2008 6:58 PM
Gravatar
First time car loan. San antonio new car loan. New car loan. Car loan amortization. Car loan. Used car loan rates.

# Free casino games online.

Left by Online casino advertising. at 4/24/2008 6:15 PM
Gravatar
Online casino.

# Lorazepam.

Left by Lorazepam y 57. at 10/9/2008 7:35 AM
Gravatar
Lorazepam. Lorazepam ativan information and resources. Lorazepam without prescription. Ic lorazepam buspar. Diaepan to lorazepam conversion. Lorazepam overdose.

# Buy phentermine online.

Left by Cheap 37 5 phentermine. at 10/23/2008 7:54 PM
Gravatar
Phentermine. Phentermine prescription. Phentermine review.

# Soma next day.

Left by Soma. at 10/24/2008 11:41 PM
Gravatar
Soma. Suicide with soma how many does it take.

# Discount phentermine.

Left by Phentermine. at 10/27/2008 4:13 AM
Gravatar
Phentermine no prescription. Phentermine. Phentermine 37 5mg. Cheap phentermine online.

# Order didrex adderall no prescription.

Left by Adderall. at 10/28/2008 12:12 AM
Gravatar
Adderall side effects. Adderall.

# Viagra.

Left by Viagra. at 10/28/2008 6:03 AM
Gravatar
Viagra. Viagra buy. Generic viagra. Compare stay erect and viagra. Discount viagra.

# Discount phentermine.

Left by Lowest online phentermine price. at 10/28/2008 2:53 PM
Gravatar
Phentermine. How does phentermine work. Phentermine online pharmacy. Cheap phentermine free shipping.

# Discount phentermine.

Left by Phentermine. at 10/29/2008 12:26 AM
Gravatar
Phentermine on line. Online phentermine. Phentermine dosage.

# Phentermine cheap.

Left by Phentermine weight loss. at 10/29/2008 9:11 AM
Gravatar
Buy cheap phentermine online.

# Phentermine.

Left by Phentermine. at 10/29/2008 3:59 PM
Gravatar
Phentermine.

# Ashes of soma.

Left by Watson soma. at 10/30/2008 9:06 AM
Gravatar
Generic soma. Soma muscle relaxant. Soma.

# Hydrocodone.

Left by Hydrocodone. at 11/13/2008 2:13 PM
Gravatar
Hydrocodone.

# Does xanax make sex better.

Left by Xanax. at 11/13/2008 2:58 PM
Gravatar
Xanax overnight. Xanax.

# Tramadol hydrochloride.

Left by Side effects of tramadol. at 11/14/2008 1:47 AM
Gravatar
Tramadol hcl. Tramadol. Side effects tramadol.

# Pharmacokinetics of percocet.

Left by Percocet 93-490 10 mg. at 11/14/2008 9:57 AM
Gravatar
Buy percocet online no prescription. Gereric names for percocet 5 325. Percocet.

# Ambien abuse.

Left by Ambien. at 11/15/2008 4:57 AM
Gravatar
Ambien.

# Tramadol.

Left by Tramadol side effects. at 11/15/2008 1:01 PM
Gravatar
Comparative potencies of opioids tramadol. Tramadol.

# Tramadol hydrochloride.

Left by Tramadol. at 11/15/2008 10:28 PM
Gravatar
Tramadol wikipedia the free encyclopedia. Tramadol.

# Tramadol.

Left by Tramadol. at 11/16/2008 1:16 PM
Gravatar
Tramadol hydrochloride. Tramadol dog. Tramadol.

# Hydrocodone without prescription.

Left by What is hydrocodone. at 11/16/2008 10:17 PM
Gravatar
Hydrocodone apap. Hydrocodone apap 5 500. Hydrocodone. Hydrocodone online.

# Side effects tramadol.

Left by Tramadol. at 11/17/2008 5:22 AM
Gravatar
Comparative potencies of opioids tramadol. Tramadol side effects. Ibuprophen and tramadol. Tramadol. Tramadol 50mg. Cheapest tramadol.

# Dog sex.

Left by Dog sex. at 2/18/2009 4:57 AM
Gravatar
Gay dog sex. Dog sex beastiality. Dog sex.

# Buy xanax online.

Left by Xanax. at 2/20/2009 3:50 AM
Gravatar
Xanax.

# Dog women sex.

Left by Dog sex. at 2/22/2009 2:40 AM
Gravatar
Dog sex. Free dog sex. Free dog sex mpegs. Dog sex girl photo video horse.

# Dog sex.

Left by Dog sex. at 2/23/2009 7:38 AM
Gravatar
Dog sex.

# Tramadol.

Left by Tramadol. at 2/24/2009 3:39 AM
Gravatar
Will tramadol hcl test positive in drug testing. Tramadol hcl. Tramadol.

# Rape bondage.

Left by Lesbian rape. at 2/24/2009 7:20 AM
Gravatar
Tentacle rape. Rape tgp. Rape stories. Rape images. Rape. Fantasy rape. Anime rape. Date rape.

# Xanax.

Left by What happens when you crush xanax xr. at 2/25/2009 4:47 AM
Gravatar
Buy xanax.

# Vicodin.

Left by Purchase vicodin. at 7/8/2009 6:53 AM
Gravatar
Vicodin at overseas pharmacies. Vicodin side effects. Vicodin addiction.

# Soma overnight.

Left by Buy soma. at 7/8/2009 11:08 PM
Gravatar
Soma. The strokes is this it soma lyrics free.

# Percocet.

Left by Drug interactions amantadine percocet. at 7/10/2009 10:48 PM
Gravatar
No prescription percocet. Difference between percocet and vicaden. Fun with percocet. Half life of percocet. Percocet. How to extract acetaminophen from percocet. How long is percocet in your system.

# Darvocet vs vicodin.

Left by Vicodin. at 7/11/2009 10:45 PM
Gravatar
Vicodin hp. Vicodin m357. No prescription vicodin. Dangers of vicodin. Buy vicodin without script.

# Xanax.

Left by Xanax. at 7/12/2009 11:08 PM
Gravatar
Xanax lawsuits. Buy xanax without prescription. Side effects of drug xanax. Hysbysfwrdd cymrux xanax cheap phentermine. Xanax no prescription. Xanax without prescription. Xanax.

# Viagra.

Left by Viagra. at 7/13/2009 11:16 PM
Gravatar
Viagra. Buy viagra online.

# Vicodin.

Left by Darvocet vs vicodin. at 7/14/2009 11:16 PM
Gravatar
Vicodin. Vicodin and no consults and no prescription. Buy vicodin online without a prescription.

# Vicodin at overseas pharmacies.

Left by Pharmacy online no prescription vicodin. at 7/15/2009 11:18 PM
Gravatar
Buy vicodin without prescription. Vicodin side effects. Dangers of vicodin. Vicodin without prescription. Buy vicodin without script. Effects of vicodin. Pharmacy online no prescription vicodin.

# Soma overnight.

Left by Soma sen. at 7/17/2009 1:26 AM
Gravatar
Soma to florida. Soma sen. Soma online.

# White tramadol with 377 on the side.

Left by Tramadol dog. at 7/18/2009 12:44 AM
Gravatar
Medlineplus drug information tramadol and. Tramadol. Tramadol 180.

# believed concentrations further

Left by believed concentrations further at 12/28/2009 7:16 AM
Gravatar
radiation warming made last

# cupcake values

Left by cupcake values at 1/13/2010 7:51 AM
Gravatar
ago capita average 100 announced regional domestic
Comments have been closed on this topic.
«March»
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910