Is there a way to prevent a user from typing a single alphanumeric character into a combobox. I want to restrict the user so that all they can do is select one of the choices in the dropdown list. I\'ve set the MaxLength property of the combobox to 1 (as 0 seems to allow an unlimited amount of text to be entered), but would like to prohibit any text from being entered. I must be missing the boat on this somewhere!! \r\n \r\nThanks for any tips.....
Is there a way to prevent a user from typing a single alphanumeric character into a combobox. I want to restrict the user so that all they can do is select one of the choices in the dropdown list. I've set the MaxLength property of the combobox to 1 (as 0 seems to allow an unlimited amount of text to be entered), but would like to prohibit any text from being entered. I must be missing the boat on this somewhere!!
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET. subscribe