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
Mention the two categories which distinctly classifies the variables of the C# programs.
What do you mean by the term ALE? Describe the functions of ALE in 8085?
How can we programmatically place a cursor on the given line or on the character in a RichTextBox control in the C#?
In what way we can auto size the button to fit the text?
Distinguish between RichTextBox control and TextBox control.
What is the basic difference between a content page and a master page?
What is the requirement of Copy Web Site?
Explain Common Type System (CTS)?
Write about the Satellite Assembly?
What is the way to identify that a Page is Post Back?
18,76,764
1944276 Asked
3,689
Active Tutors
1443791
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!