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
Rano AH
NA
176
111.8k
How to prevent user to wirte in a comboBox or a textBox
Nov 5 2013 10:11 AM
Hello
How to prevent user to write in comboBox? I just need to allow the user to select from the list.
If I set DropDownStyle property to DropDownList, this will work, but I want to keep DropDownStyle = DropDown.
Also, How to prevent a user to write in a textbox without disable it. I have a textbox which will display an output. I need to keep it enabled but not allowing the user to write in.
I tried to set locked property to true as well, but this didn't work. Any idea?
Reply
Answers (
3
)
delete , edit on right side ..? gridview
Display database values in a dropdown list