Prevent users from editing text in ComboBox-DOT NET
How we can prevent users of the application from editing a text in ComboBox controls in the .NET 4.0?
Expert
ComboBox class has DropDownStyle property that is used to describe display style of an item in a ComboBox control. DropDownStyle property allows the value from a ComboBoxStyle enumeration that contains three members to describe styles for items like: DropDownList, Simple and DropDown. DropDownList value of a ComboBoxStyle enumeration is selected to set ComboBox control as non-editable by the users, as described in the following code:
Code for C#:
ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList;
Code for VB:
ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList
Illustrate the term event bubbling?
How we can enable impersonation in the web.config file?
Write down the ToolTipService timing properties in the WPF?
How do dates, numbers, and currencies in a text box are formatted?
How we can decide whether we should deploy application or publish application?
How to make a windows desktop application using visual studio 2010 ultimate?
Illustrate the difference between System.Windows.dll and System.Windows.Browser.dll?
Explain briefly the term AutoPostBack?
Why Windows Installer is used?
How can CAS be turn-on and turn-off?
18,76,764
1957100 Asked
3,689
Active Tutors
1431362
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!