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
In what way we can auto size the button to fit the text?
Which classes are used to handle standard menu in the MenuStrip control.
Explain the ToolTip control and how it can be associated with the other controls?
Specify the function of the “SizeMode” property of the PictureBox control?
Explain DataReader object?
Define the function of a ViewState property?
How a condition can be implemented in the workflow?
Write a major difference between a RadioButton control and a CheckBox control?
List the types of Cookies that are available in ASP.NET?
Describe regarding the Visual basic.NET culture in brief.
18,76,764
1952100 Asked
3,689
Active Tutors
1419948
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!