Highlights of Week 29/2011
Posted by Michael Gaigg
- The Entrepreneur’s Guide to Coffee Shop Etiquette (by Erica Swallow) - "Sound = never appropriate" or "You only get one seat. Put your stuff on the floor."
- 10 Helpful Tools & Apps for Twitter Power Users (by Leo Widrich) - Tweepi – Get rid of unwanted followers
- 38 “Call to Action” Button Templates That Really Stand Out (by Alvaris Falcon) - Make it big, make it clear, make it delicious.
- Introducing BrowserID – easier and safer authentication on the web (by Robert Nyman, and Chris Heilmann) - strong forces behind this idea, will it take off?
- How I Write (by Mitch Joel) - Tools, tactics and techniques, very nice
- A different approach to conference Q&A – Interviews (by Christian Heilmann) - Q&A in separated session, very interesting approach with many advantages
- 40 useful APIs for web designers and developers (by Cameron Chapman) - great summary of google, yahoo and other API's
- Share this:
Highlights of Week 20/2011
Posted by Michael Gaigg
- How to Create a Clean 3D Button in Photoshop (by Madalin Tudose) - nice tutorial and result
- Effective Website Help Systems: Tips and Examples (by Mohammad Moradi) - essential tips and best practices for designing effective help pages
- 10 handy jQuery mobile tips and snippets to get you started (by Patrick McNeil) - gotta love jQuery mobile, nice tips for its usage
- 6 Lessons From Jim Collins On Becoming Great (by Rohit) - yes, turn off your gadgets
- Design Beautiful “Coming Soon” Page: 37 Templates & Tutorials (by bellefoong) - simply put: beautiful
- Flashback: Every time you add something you take something away (by Jason Fried) - be aware of it of this paradox!!
- Share this:
Highlights of Week 17/2011
Posted by Michael Gaigg
- On Leadership (by Kel Smith) - Some really, really, really good lessons that we should honor (or be reminded of) every day.
- Considerations for ArcGIS Server developers: A look toward 10.1 (by Ismael Chivite and Sterling Quinn) - on web services architecture, custom geoprocessing tools, geometry service and server object extensions
- 10 Google Labs Experiments You Should Know (by bellefoong) - Fast Flip? App Inventor for Android?
- How to Use Your iPad for Real Design Work (by Joshua Johnson) - all I need now is an iPad, anybody got a spare? haha
- 4 Quick Tips for Getting the Most out of Google Analytics (by David Leggett) - Regular expressions to filter data? Give me a break... but on second thought...
- Common elements used in interface button design (by Callum Chapman) - excellent tutorials for anybody interested in button design
- Share this:
Highlights of Week 14/2010
Posted by Michael Gaigg
- Aggressive, spiky button vs. rounded corner button (by 37signals) - snapshot of the fantastic video The Science of Aesthetics (by Keith Lang)
- iPad Accessibility (by Kel Smith) - with all the buzz around the iPad... what about accessibility? Jennison Asuncion on How to Make a Screencast for Your Website (by Stu Green) - another amazing tutorial posted on webdesignerdepot.
- A Basic Look at Typography in Web Design (by Shannon Noack) - typography is more important than one might think, worth another look, again.
- You’re Failing as a Web Developer — and Here’s Why (by Louis Lazaris) - hahaha, you think 'specs' are glasses... a good one.
- Share this:
How to Disable Button on form submit in .NET
Posted by Michael Gaigg
This problem seems to be almost too obvious to be posted here but it took me quite some time to actually figure it out how to do it correctly - so I'd might just share it with you.
Disabling the submit button helps users comprehend that their action is in process and waiting for a response can be expected. It also prevents them from clicking the same action more than once which could lead to serious troubles (duplicate entries, application exceptions, etc.)
Problem
How do I disable a form submit button on a .NET page that does client-side validation?
The problem is that the button cannot simply be disabled because it would not be enabled again if the client-side validation prevents the form from being submitted.
Solution
.NET
<asp:Button runat="server" ID="btnSubmit" Text="Submit" OnClientClick="SubmitForm(this);" />
JavaScript:
function SubmitForm(source) {
ret = true;
if (typeof (Page_ClientValidate) == 'function') {
Page_ClientValidate();
ret = Page_IsValid;
}
if (ret) {
source.value = "Processing...";
source.disabled = true;
__doPostBack(source.name, "");
}
return ret;
}
- Share this:
About Me
I'm Michael Gaigg, Lead UI Engineer at Esri's Prof. Services.
I have over 8 years of experience in designing map interfaces and can't stop thinking about improving them.
Help me by sharing your thoughts, ideas and comments.
Categories
- Accessibility (16)
- Code Samples & Tips (8)
- Conclusions (4)
- Design Guidelines (11)
- Designing Map Interfaces (3)
- Go figure (9)
- Good News (19)
- Here and there (21)
- Map Applications (7)
- This Week's Highlights (53)
- Usability & UCD (22)
- Web Design (21)
Popular Posts
- ColoRotate – 3D color scheme generator with social component
- Web Content Accessiblity Guidelines (WCAG) 2.0: Overview and Structure
- Powerpoint Wireframe Stencils as Free Download
- Go figure: 10 Comic Strips that have Something in Common
- Job Posting: User Interface (UI) Engineer at ESRI
Latest tweets
- Awesome resources for website designers http://t.co/oB77As8O 2 weeks ago
- I just contacted Rep. Jerry Lewis to oppose #SOPA #PIPA - Join me! http://t.co/BuFcgvqf #wikipediablackout 2 weeks ago
- Awesome #login #form #sample http://t.co/hob6dtvF 3 weeks ago
- Photo: Dude, just don’t pin the place you’ve been… ;) http://t.co/lwf3gIU8 3 weeks ago
- Photo: Who wants to buy a church in Los Angeles? http://t.co/0SJrYxCv 2011-12-31
- More updates...
Posting tweet...

