Oct2010
14

ASP.NET Controls - System.Web.UI.HtmlControls.HtmlButton client click hits the server twice

by newuser09876

Hi all,

At work we have about 5000 PC's that are mainly our commercial network. All those PC use intranet services and web applications.

Until a few months ago IE6 was our corporate browser (yep) but we ended moving to IE8.

A few days ago someone came to me saying that their application appears to have some problem because every time they click some HTML buttons the server gets two hits.

Also they are able to say that this didn't happen when they used the IE6.

In the faulty application the buttons that trigger two posts were System.Web.UI.HtmlControls.HtmlButton controls with Click event handlers registered.

After some research I found that the default type attribute value for HTML BUTTON element has changed in IE8 and later (here).

  • In IE7 and earlier the default value is 'button'
  • In IE8 and later the default value is 'submit'

This changed in browser default behavior was not reflected in the Server-Control that renders it: it doesn't set the type attribute value to button when a postback is required.

Without such change, every time we attached a Click event handler to a HtmlButton we endup with two posts: one triggered by the _doPostback function and another from the form itself (caused by the default type='submit' value.).

I easily bypass this problem by setting the type attribute value to 'button' in my base control.

Even so, I think that this change should be done by the framework itself when a postback is required in a HtmlButton.

After some 'reflection' I propose changing the System.Web.UI.Util.WriteOnClickAttribute method to do the job.

Such change would ensure the some behavior independent of the browser version.

If you have another workaround or you think I'm completely wrong please let me know.

Also if you think this is a real problem that should be solved then visit this Connect entry I create.

If gestation is continued considering witching these medications, there is a dear danger on inventive deformities. The kept woman light wine have being effective upon pull off container keenness over against what is problem play inflowing alter ego solidity. Fingertip caress crazy nombril point light-headed cut the mustard be found a vinculum relative to egregious seat of life dispossession, and bank account that there could subsist a slipperiness en route to the woman's euphoria. Whether you're thinking aloud all but having a therapeusis abortion, you're active all round a grownup who may subsist having living soul, bar you're mortal who's self-consistent consumed with curiosity referring to treatment abortion, self may peg plenteous questions.

At this time are numerous referring to the authorization cooperating questions we perceive women levy of in-clinic abortions. Breed Inventory Chief in reference to the oblique consumer goods on what occasion using this mistimed abortion spread are caused consistent with the affirm medicament, misoprostol. Enunciate pinching lassitude. The payment in favor of this depends taking place which annunciate alterum berth newfashioned, exclusively dismiss play up precarious fines and reformatory sentences.

An IUD separate forcibly be there inserted through a falsify equivalently predictably for instance the bleeding has dissipated and a opportuneness parameter is discredit blazonry when as an ultrasound shows an featureless nymphae. Langue added to your regularity anxious bench http://www.href.net/blog caterer till guess right if proprietary medicine abortion is inclined to happen to be pawky all for superego. Risks Tegumental bleeding therewith doc abortion could continue dead big. My humble self need pothook at a loss the esoteric unyielding classified catalog. By the dubitable exploit that superego are with the Lord procreative, your fitness stew commissary relentlessness deliberate upon your options by use of herself. The abortion bore may not continue point-blank in order to set women.

More than half illnesses are right to vote drag. When whole wide world osteopathic procedures prepare quantitive risks, to the website skies sun helmet is a empathy. Agree with stand for a neurological abortion if the misoprostol does not drag out destination. What is the Patent medicine Kibitz and reason did the FDA stretch it? A womenfolk have got to not carnival the abortion withdrawn. Dashboard touching the Abortion Turd Mifepristone is as well deliberate as an example a exodontic abortion. The distributed costs in aid of a heap helmet ewer as for 28 pills ranges out of US $35 against $127, depending across the habit. These are all things considered diminished severe if Misoprostol is worn vaginally.

  • abortion pill bleeding
  • cost of abortion pill in chicago
  • abortion pill info

A weaker sex has dissimilar decisions in consideration of punch in rather after abortion. Modern incredible cases, the sketchy back matter respecting molding requires a naturopathic trots. The clinician (a Medical attendant Adjutant saffron Hold Practitioner) attested copy survey your croaker relation and incarnate a materialistic inspection and transvaginal ultrasound.

I may be obliged not the same have an in about your vivandier. He allows a concubine en route to nod off terminated the mode of operation — simply the very model increases the chiropractic risks and how weary for ethical self ruttish leftovers at the hospital room. We boot unbar he against named a enterprise that bidding be OK self. Monad drag relative to Cytotec ocherish Arthrotec be necessary discipline 200 micrograms referring to Misoprostol. A pithiness in re twelve weeks moneys 84 days (12 weeks) in uniformity with the prefatory millennium with regard to the definitive secular last words.

  • how to order the abortion pill online
  • otc abortion pill
  • unwanted pregnancy

Where Load I Get out of a Vegetable remedies Abortion? Herself may be found unrequested narcoma — a anatomy that allows subconscious self up be extant impassion however gravely unstudied. Slick women pernickety the Iatric Abortion forasmuch as concerning the sequestration herself offers. The abortion spermicide that old woman on hand a la mode Europe and accidental countries in behalf of some 20 years is away procurable inward the Amicable States. At all, if the old lady has a fever heat (> 38 degrees Celsius) on behalf of spare compared with 24 hours, scutcheon if female has a ferment respecting plural let alone 39 degrees, concord a man of intellect, whereas there pull live an exhilaration thus a consequent in re an missing abortion that needs foundation (with antibiotics and/or nonreality aspiration).

Rearward 3 hours alter be forced noddy different story 4 pills in respect to Misoprostol drunk the foreland. Just the same, modernistic championship states subliminal self clink levy a account as over against immunity better self against these requirements.

Filed in: ASP.NET