There are probably many reasons why a button would not fire in an ASP.NET web forms application. Some can be fixed with deleting cookies and history, some are to do with when the event is registered. I found a new one though.
In my scenario I had a text box that was submitted with a button next to it. We didn't want to display the button though but instead wanted the form submitted with a click of the Enter button. The button was therefore wrapped in a display:none
span, like this:
<input type="text" id="txtInput" onchange="btnGo_Click" runat="server"/> <asp:Button style="display:none;" runat="server" OnClick="btnGo_Click" /> <asp:Label ID="lblOutput" runat="server" />
It turns out that this worked just fine in Chrome and Firefox but not in IE9. This was because not all browsers post data that is hidden with CSS. Security possibly? You could see this by looking at the request in Fiddler. There was no value for the button field in IE but there was for the others.
How to submit a form by clicking Enter and hiding the button
The best way I can think of is to hide the button without hiding it... How? You can push it miles of the page to hide the button with some CSS like this:
<input type="text" id="txtInput" onchange="btnGo_Click" runat="server"/> <asp:Button style="position:absolute;left:-9999px;" runat="server" OnClick="btnGo_Click" /> <asp:Label ID="lblOutput" runat="server" />
This will put the button miles off to the left never to be seen by the user.
This comment has been removed by the author.
ReplyDeleteI love to read this type of material Good and attractive information I take from it..Thank you for posting such a good article
ReplyDeletehappy wheels ez
super mario bros
pacman
agario
I really like this kind of post here. I want to share more post about that topic. keep it up. Grass mats from groundreinforcementmesh.co.uk from http://groundreinforcementmesh.co.uk/grass-mats.html
ReplyDeleteThe blog is Really informative and looks realistic. I appreciate your style and surely come back again to increase my knowledge.Mostly comments to match to eatch other.I just got to this amazing site not long ago. I was actually captured with the piece of resources you have got Garage Flooring
ReplyDeleteI have encountered this situation and very difficult to overcome it. Thank you for giving me helpful information
ReplyDeletesignature:
head soccer - Big Head Soccer - head soccer - Big Head Soccer - Tiny Tanks - Tiny Planes
This blog is so nice to me. I will continue to come here again and again. Visit my link as well. Good luck
ReplyDeleteobat aborsi
cara menggugurkan kandungan
Our associates are the qualified agencies that can tackle shifting
ReplyDeleteand take it to the next stage of succession.
Relocation Services in Bangalore
Moving Organization in Hyderabad
Packing and Moving Services in Thane
http://bestpackers.org/
Companies particular with us carry all kind of shifting successfully.
ReplyDeleteAsk definitely without any price shifting views and deal with your Moving
price extensive variety accordingly.
Shifting and Moving in Gurgaon
Household Moving in Delhi
Professional Packers and Movers in Noida
Packers and movers of India have a well qualified staff to deal
ReplyDeletewith home items with careful attention while caring it to automobile,
during transportation and when unloading happens, shifting alternatives etc.
Packing and Moving in Pune
Packer and Mover Mumbai
Reliable Packing Services in Navi Mumbai
Packers and Movers India have exceptionally delineated vehicles which
ReplyDeletehave bounteous and adequate recognize to keep your stock. They are staggering
properly secured vehicles along these lines keep items from outside unsettling impact.
Safe Packaging and Moving in Chennai
Secure Move in Faridabad
Get Best Movers in Ghaziabad
a given article is very interesting and very useful for me, thank you very much admin and pardon me
ReplyDeletepermission to share the article here :
Obat
ginjal bocor
Obat radang usus
Obat gondok
I'm looking for a few bugs in my post. But I think I should have someone look and point out it.
ReplyDeletehttp://colorswitchplay.com
I was very impressed by this post, this site has always been pleasant news. Thank you very much for such an interesting post. Keep working, great job! In my free time, I like play game: superfighters2.net. What about you?
ReplyDeleteThanks for sharing your info. I really appreciate your efforts and I will be waiting for your further write.
ReplyDeleteAgarwal Packers and Movers
Movers and Packers
Packers and Movers
Agarwal Packers and Movers Hyderabad
Agarwal Packers and Movers Noida
Agarwal Packers and Movers Pune
Agarwal Packers and Movers Blog
Agarwal Packers and Movers Delhi
Agarwal Packers and Movers Bangalore
Agarwal Packers and Movers Mumbai
Agarwal Packers and Movers Chennai
Agarwal Packers and Movers in Kota
Obat Penggugur kandungan,,, Nice bag you can earn money from that
ReplyDeleteThanks for your posting
Visit me @, Obat Aborsi,,
Jual Obat Aborsi,,,
Harga Obat Aborsi,,,
The article you have shared here very awesome. I really like and appreciated your work. I read deeply your article, the points you have mentioned in this article are useful.
ReplyDeleteiogamez.com
Geometrydashonline.net
I always go through your all post . I really very much like your all posts.
ReplyDeletePackers and movers Charges in Pune
Packers and movers Charges in Delhi
Packers and movers Charges in Bangalore
Packers and movers Charges in Mumbai
Packers and movers Charges in Gurgaon
Packers and movers Charges in Noida
https://goo.gl/ihhbhp
Avriq
ReplyDeleteCCTV Camera
Pest control services
PC Optimization
Windows installation
Data recovery
CP Plus
Termite control services
This article is really good. It has solved one of queries in my mind. thanks. for any accounting related help you can visit -Hybrid Accounting
ReplyDeleteMarvelous article! I need individuals to know exactly how great this data is in your article
ReplyDeletePackers and Movers in Pimpri
Packers and Movers in Chikhali
Packers and Movers in Kalewadi
Packers and Movers in Kasarwadi
Packers and Movers in Phugewadi
Its really amazing blog with very much helpful information, thank you so much for writing this great blog here for us.
ReplyDeletePackers and movers in hirandani estate powai
Packers and movers in hiranandani estate thane
Packers and movers in ghatkopar
Packers and movers in sakinaka
Packers and movers in mulund east
Love it! Very interesting topics, I hope the incoming comments and suggestion are equally positive. Thank you for sharing this information that is actually helpful.
ReplyDeleteHybrid Accounting
Accounting Services in indianapolis
bookkeeping services in indianapolis
payroll services in indianapolis
Prospectus Patrachar Vidyalaya
ReplyDeleteCBSE Forms
CBSE Patrachar Delhi
Patrachar Vidyalaya phone no.
This is only the data I am discovering all over. A debt of gratitude is in order for your website, I simply subscribe your online journal. This is a decent blog.. jual tv stand
ReplyDeleteIm going to examine this. unwell be stubborn abet on lower back occurring. thanks for sharing. and with this text gives the mild wherein we will observe the realism. that is selected manageable one and gives indepth safety. thanks for this handy article... click here
ReplyDeletewhatsapp dare
ReplyDeletewhatsapp group links
whatsapp group names
What could fill somebody's heart with joy other than perusing such delightfully made blog, for example, this.
ReplyDeleteMason Soiza
This was a really great contest and hopefully I can attend the next one. It was alot of fun and I really enjoyed myself..
ReplyDeleteMason Soiza
New web design businesses are springing up all of the moment, but don't be tricked by shiny sites loudly proclaiming their amazing services.maketavimo paslaugos
ReplyDeleteDuring this stage the web designer will most likely participate to make sure that his design works with the customers requirements. Indeed, the requirements will most likely include details about how the customer wants the web site to appear.
ReplyDeletehttps://medijo.lt/skrajutes/
Packers And Movers Bangalore Local Household Shifting Service, Get Free Best Price Quotes Local Packers and Movers in Bangalore List , Compare Charges, Save Money And Time @ Packers And Movers in Bangalore
ReplyDeletePackers and Movers Gurgaon Provide Reliable, Safe and Certified Service Provider list, Get Free ***Best Price Quotaition and Compare Charges. ✔✔✔ Hassle free Household Shifting Services, High Quality packing Material, Office Relocation, Car Transportaion, ###Local and Domestic Shifting Service @
ReplyDeletePackers And Movers Gurgaon
Packers and Movers in Rewari -Air Cargo Packers and Movers in Rewari are best Movers and Packers in Rewari and all the important locations in Ncr at reasonable price. Packers and Movers in Rewari gift you best deals of knowledgeable about Ncr. Packers and Movers in Rewari have a tendency to providing quality service at competitive world from prime rated Packers. You are moving down the road with Rewari or moving from this town to in other places. Packers and Movers in Delhi are able to offer you the best match for your move.
ReplyDeletePackers and Movers in Delhi -Air wares Packers and Movers could be a metropolis primarily based Packers Movers Company providing reliable and cost-efficient Packers Movers services, Packers and Movers in metropolis and Packing Moving services all told over Republic of India. it's branches all told the most cities of Republic of India. Packers and Movers in metropolis worth the emotions of our customers and thence take that any care, whereas moving and packaging the merchandise of our customers.
ReplyDeleteThanks For Sharing This
ReplyDeleteWhatsapp Numbers And Groups Collection
kenya Girls whats app group links
Chennai girls whatsapp group links
USa girls whatsapp groups
Learn python whatsapp group
web developers whatsapp group links
Learn java whatsapp group links
youtube subscribe for subscribe
USA girls whatsapp group links
India girls whats app group links
real girls whats app group links
whatsappgrouplinks.xyz
Packers and Movers in Greater Noida - We give vast importance to loading and unloading, because it is at this stage that damage to goods frequently occurs.
ReplyDeletePackers and Movers Pune Provide High Quality ***Household Shifting, Home/Office Relocation, Insurance, Packing, Loading, ###Car Transportation Service Pune and High experiences, Top Rated, Safe and Reliable, Best and Secure Packers and Movers Pune Team List. Get ✔✔✔ Affordable Rate Charts and Compare Quotation and Save Money and Time .
ReplyDeletePackers And Movers Pune
Packers and Movers Hyderabad Give Certified and Verified Service Providers, Cheap and Best ###Office Relocation Charges, ***Home Shifting, ???Goods Insurance worth Rs. 10,000, Assurance for Local and Domestic House Shifting. Safe and Reliable Household Shifting Services in Hyderabad with Reasonable Packers and Movers Price Quotation @
ReplyDeletePackers And Movers Hyderabad
Hire Best Packers And Movers Mumbai for hassle-free Household Shifting, ***Office Relocation, ###Car Transporation, Loading Unloading, packing Unpacking at affordable ✔✔✔ Price Quotation. Top Rated, Safe and Secure Service Providers who can help you with 24x7 and make sure a Untroubled Relocation Services at Cheapest/Lowest Rate
ReplyDeletePackers And Movers Mumbai
Motifz Designer Lawn. 1, 2 & 3 Piece Unstitched Premium Embroidered Lawn 2019, Premium Lawn, Lawn 2019, Best lawn collection, Motifz, Best Lawn in Pakistan, Shipping worldwide. Stitching option available.
ReplyDeleteBuy Premium lawn Online for Women's at best prices available at Motifz. ✓ Latest Fashion, ✓ Trendy Designs ➤ Shop Now!
ReplyDeleteVery Nice Blog, Thanks for This Post..it's Been Good Reading This.
ReplyDeleteBest Movers Singapore
House Moving Service singapore
Office Movers Singapore
lorry service singapore, small movers singapore, office moving services singapore
Thank you again for all the knowledge you distribute,Good post. I was very interested in the article, it's quite inspiring I should admit. I like visiting you site since I always come across interesting articles like this one.Great Job, I greatly appreciate that.Do Keep sharing! Regards, Find out more
ReplyDeletePretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. Webdesign
ReplyDeleteNice to read your article! I am looking forward to sharing your adventures and experiences. Webdesign
ReplyDeleteI really appreciate the kind of topics you post here. Thanks for sharing us a great information that is actually helpful. Good day! Webdesign
ReplyDeleteWebdesigner waar u een professionele en betaalbare website kan laten maken? De nr. 1 webdesigner in Limburg, Antwerpen en Vlaams-Brabant voor SEO websites. Webdesigner
ReplyDeleteBe that as it may, learning is just the starting now you need to make a portfolio, and search for work. Webdesign
ReplyDeleteI have been looking to discover a solace or powerful Best ps4 steering to finish this procedure and I think this is the most reasonable approach to do it viably.Click Here
ReplyDeleteI have read your article, it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it.. Webdesign bureau
ReplyDeletePackers and Movers Bangalore
ReplyDeletePackers and Movers Hyderabad
Packers and Movers Chennai
Packers and movers Kerala
Packers and Movers Whitefield
Packers and Movers Koramanagala
packers and Movers malleswaram
Packers and Movers vijaya Nagar
Packers and Movers Rajaji Nagar
Packers and Movers Basaveshwaranagar
شركة مكافحة حشرات بخميس مشيط
ReplyDeleteشركة مكافحة حشرات ببيشة
شركة مكافحة حشرات بحائل
شركة مكافحة حشرات بنجران
ReplyDeleteشركة مكافحة حشرات بجازان
شركة مكافحة حشرات بابها
شركة مكافحة حشرات بخميس مشيط
ReplyDeleteشركة مكافحة حشرات ببيشة
شركة مكافحة حشرات بحائل
شركة مكافحة حشرات بنجران
ReplyDeleteشركة مكافحة حشرات بجازان
شركة مكافحة حشرات بابها
شركة مكافحة حشرات بخميس مشيط
ReplyDeleteشركة مكافحة حشرات ببيشة
شركة مكافحة حشرات بحائل
شركة مكافحة حشرات بخميس مشيط
ReplyDeleteشركة مكافحة حشرات ببيشة
شركة مكافحة حشرات بحائل
شركة مكافحة حشرات بنجران
ReplyDeleteشركة مكافحة حشرات بجازان
شركة مكافحة حشرات بابها
شركة مكافحة حشرات بنجران
ReplyDeleteشركة مكافحة حشرات بجازان
شركة مكافحة حشرات بابها
شركة مكافحة حشرات بالقصيم
ReplyDeleteشركة مكافحة حشرات بينبع
شركة مكافحة حشرات بالخرج
شركة مكافحة حشرات بالقصيم
ReplyDeleteشركة مكافحة حشرات بينبع
شركة مكافحة حشرات بالخرج
هل تبحث عن شركة متخصصة فى خدمات التنظيف بالطائف بافضل المعدات والسوائل وثقة تمة فى العمل ودقة فى النتائج كل هذه المميزت توفرها شركة الخليج الشركة الافضل والامثل فى الخدمات المنزلية بالطائف وبما اننا الشركة الافضل والامثل بدون منافس سوف نسعى لتوفر افضل الخدمات باقل تكلفة وبقدر كبير من الاهتمام والدقة عزيزى اينما كنت فى اى منطقة ا وحى تابع لمدينة الطائف اتصل بنا وسوف نصلك فى الحال شركة الخليج للخدمات المنزلية شركة تنظيف منازل بالطائف
ReplyDeleteشركة تنظيف فلل بالطائف
شركة تنظيف خزانات بالطائف
شركة تسليك مجارى بالطائف
شركة رش مبيدات بالطائف
شركة مكافحة نمل ابيض بالطائف
شركة مكافحة حشرات بالطائف
شركة عزل اسطح بالطائف
شركة عزل خزانات بالطائف
هل تبحث عن شركة متخصصة فى خدمات التنظيف بالطائف بافضل المعدات والسوائل وثقة تمة فى العمل ودقة فى النتائج كل هذه المميزت توفرها شركة الخليج الشركة الافضل والامثل فى الخدمات المنزلية بالطائف وبما اننا الشركة الافضل والامثل بدون منافس سوف نسعى لتوفر افضل الخدمات باقل تكلفة وبقدر كبير من الاهتمام والدقة عزيزى اينما كنت فى اى منطقة ا وحى تابع لمدينة الطائف اتصل بنا وسوف نصلك فى الحال شركة الخليج للخدمات المنزلية شركة تنظيف منازل بالطائف
ReplyDeleteشركة تنظيف فلل بالطائف
شركة تنظيف خزانات بالطائف
شركة تسليك مجارى بالطائف
شركة رش مبيدات بالطائف
شركة مكافحة نمل ابيض بالطائف
شركة مكافحة حشرات بالطائف
شركة عزل اسطح بالطائف
شركة عزل خزانات بالطائف
شركة مكافحة حشرات بخميس مشيط
ReplyDeleteشركة مكافحة حشرات ببيشة
شركة مكافحة حشرات بحائل
شركة مكافحة حشرات بخميس مشيط
ReplyDeleteشركة مكافحة حشرات ببيشة
شركة مكافحة حشرات بحائل
شركة مكافحة حشرات بنجران
ReplyDeleteشركة مكافحة حشرات بجازان
شركة مكافحة حشرات بابها
شركة مكافحة حشرات بنجران
ReplyDeleteشركة مكافحة حشرات بجازان
شركة مكافحة حشرات بابها
I really wanted to jot down a small note to be able to appreciate you for the superb pointers you are placing at this website. My time consuming internet investigation has now been rewarded with professional information to exchange with my co-workers. I ‘d tell you that most of us site visitors are extremely fortunate to be in a really good community with many awesome individuals with interesting things. I feel very fortunate to have used your entire web site and look forward to some more thrilling moments reading here. Thanks a lot once again for a lot of things. garage floor solutions
ReplyDeleteFlorida Lottery winning numbers for Powerball, Lotto, Mega Millions, Fantasy 5, Mega Money, Play ... Find results from your favorite Florida Lottery game belowmega millions drawing.
ReplyDeleteThank you again for all the knowledge you distribute,Good post. I was very interested in the article, it's quite inspiring I should admit. I like visiting you site since I always come across interesting articles like this one.Great Job, I greatly appreciate that.Do Keep sharing! Regards, web design company in London
ReplyDeleteVery interesting blog. Alot of blogs I see these days don't really provide anything that I'm interested in, but I'm most definately interested in this one. Just thought that I would post and let you know.click here
ReplyDeletenow present in your city cara menggugurkan kandungan
ReplyDeleteThey have a decent notoriety with their customers and different experts. By and large, a great independent expert website specialist can be great individual to have doing your webpage. In any case, they are difficult to recognize from the beginner when you are simply looking through the web. Web Design Curriculum
ReplyDeleteWe made merry and regaled ourselves through the evening. The typically French fare, consisting of bouillabaisse, vol-au-vent, lamb quiche, pork au gratin, foie gras, and cassoulet along with truffles and other desserts, will never be forgotten by any of us who attended his birthday event. exotic dancers near me
ReplyDeleteHmm!! This blog is really cool, I’m so lucky that I have reached here and got this awesome information.
ReplyDeleteBest and cheap SEO service
Thanks for sharing the info, keep up the good work going.... I really enjoyed exploring your site. good resource... home depot survey
ReplyDeleteI admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much. freelance web designer london
ReplyDeleteI would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well.. resort web design belize
ReplyDeleteI recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often. Web Designing
ReplyDeleteThanks for sharing the info, keep up the good work going.... I really enjoyed exploring your site. good resource
ReplyDeleteClick here
I needed to thank you for this phenomenal read!! I unquestionably adored each and every piece of it. I have you bookmarked your site to look at the new stuff you post.dehumidifier online in India
ReplyDeleteIt calls for innumerable hours before a PC, getting the hang of, understanding instructional exercises, and experimentation until you get it down.Webdesign
ReplyDeleteGreat Post! I really like it.Visit us
ReplyDeleteنحن نمتلك مجموعة من الخبراء والمتخصصين فى شركة تنظيف بابها ونحن نستطيع التعامل مع كافة المساحات المختلفة فلا يهم ان كنت تمتلك منزل او فيلا فأن لدينا خبرات كبيرة تمكنا من تقديم خدماتنا على اكمل وجه ولدينا عمال وفنيين محترفين ولهم خبرات مختلفة نقدم ايضآ تنظيف لواجهات الشركات والفنادق. فكل ما تحتاجه من معدات واجهزة ومنظفات ذات جودة عالمية موجودة بشركتنا فنحن نسعى فقط لارضاء العميل أولآ واخيرآ
ReplyDeleteشركة عزل خزانات بخميس مشيط
شركة مكافحة حشرات بخميس مشيط
شركة غسيل مجالس بخميس مشيط
شركة غسيل خزانات المياه بخميس مشيط
شركة غسيل خزانات بخميس مشيط
شركة تنظيف شقق بابها
I think this is one of the best blog for me because this is really helpful for me. Thanks for sharing this valuable information for free...
ReplyDeletepackers and movers in patna
Nice article thanks for sharing this information. Zodiac packers movers provide best packers and movers services in Delhi at an affordable price.
ReplyDeletepackers and movers in Delhi
packers and movers in Dwarka
packers and movers in Pitampura
packers and movers in Rohini
طرق مكافحة الحمام
ReplyDeleteشركة تركيب طارد حمام بالرياض
شركة طارد حمام بالرياض
شركة طارد حمام بالرياض
شركة مكافحة حمام بالرياض
تركيب شبك حمام بالرياض
مكافحة الحمام والطيور بالرياض
frases You did really good work. I really appreciate your new and different post. Please guys keep it up and share with us some unique post in the future
ReplyDeleteI haven’t any word to appreciate this post.....Really i am impressed from this post....the person who create this post it was a great human..thanks for shared this with us. click here
ReplyDelete