TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
raja ramesh
NA
50
108.4k
How to write code for enter only digits in dropdownlist ?
Oct 11 2011 8:29 AM
Hi,
I have written windows application
My requirement is I have to enter only digits in DropdownList, for this I have writter code as following
private void
BranchCodeRadDropDownList
_KeyPress(object sender, KeyPressEventArgs e)
{
BranchCodeRadDropDownList.DropDownStyle = RadDropDownStyle.DropDown;
BranchCodeRadDropDownList.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
Regex regex = new Regex("^[0-9\b]*$");
e.Handled= (!regex.IsMatch(e.KeyChar.ToString())); }
How to write code for
enter only digits in
dropdownlist ?
Reply
Answers (
2
)
Winform is closed but it is still running in the program list via Task Manager
What is Serialization