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
What do you mean by Common Language Specification (CLS)?
Illustrate the term lazy initialization?
State the difference between System.StringBuilder and System.String classes?
List some of the new features of ASP.NET AJAX 4.0?
Illustrate some of the points regarding UserControl in WPF?
What is Custom Activities?
Briefly describe the TrackBar control.
What do you understand by the JSON?
Illustrate the basic difference between the PenLineCap's Flat and Square values?
When.NET was developed?
18,76,764
1949151 Asked
3,689
Active Tutors
1419970
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!