Default Enter Key Button

Posted on: Wed Feb 10 16:22:24 -0800 2010. Updated on: Wed Feb 10 16:22:24 -0800 2010.
Category: DotNet

This is very easy to do: Simply wrap the text boxes and default button in an ASP Panel control. Then set the DefaultButton property to the ID of the button that should be attached to the Enter key. That's it.

Comments:

Add a Comment:

simple_captcha.jpg
(human authentication)


Ads

Categories

About

Random foliage

This website is meant to be a reference for ASP Dot Net developers. The entries are a compilation of things I've figured out how to do and that I deem useful to keep of track for future reference. Assumptions: web development with: C Sharp (vb sucks), visual studio 05/08, .net 3.5, meant for programmers. Written by: James Reategui.