ComboBox controls in .NET 4.0
How users of an application can be prevented from editing the text in the ComboBox controls in .NET 4.0?
Expert
ComboBox class comprises of DropDownStyle property, that is used to describe the display style of items in the ComboBox control. The DropDownStyle property takes a value from the ComboBoxStyle enumeration that contains three members in order to define the styles for the items:
a)Simple,
b)DropDownList, and
c)DropDown. DropDownList value of the ComboBoxStyle enumeration is selected in order to set a ComboBox control as non-editable by the users, which is shown below:
Code for VB: ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList
Code for C#: ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList;
Describe managed extensibility framework?
Describe the relationship between an object and the class?
Where the ViewState information can be stored?
Name the events that are fired during a page load?
What are the layouts of ASP.NET Pages?
What are the different ways to manage state in ASP.Net?
How a border can be placed around a picture box?
Name the latest features that added in .NET Framework 4.0?
State some differences between the ComboBox control and a ListBox control?
Explain the types of deployment models which are used in the cloud?
18,76,764
1945144 Asked
3,689
Active Tutors
1422466
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!