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;
Explain the MSIL(Microsoft Intermediate Language) ?
Illustrate the term event bubbling?
By what way we can display a default value in a text box of the input box?
Write down the use of console application in brief?
State the major difference between the sub-procedure and function?
Differentiate between publishing and deploying an application?
Which method is used in .NET to enforce garbage collection?
How one can retrieve the customized properties of the .NET application from a XML .config file?
Is it possible to set which kind of comparison we want to perform by the CompareValidator control?
Illustrate the various types of contract available in the WCF?
18,76,764
1938383 Asked
3,689
Active Tutors
1424710
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!