How to prevent manual input into a ComboBox in Javascript
Prevent or disable typing in a combo box by changing its properties:1. Make sure that the Design Mode is turned on under Developer tab.
2. Right click the Combo Box you want to disable typing, then click Properties from the right-clicking menu.
this.comboBoxType.Font = new System.Drawing.Font("Arial", 15.75F);
this.comboBoxType.FormattingEnabled = true;
this.comboBoxType.Items.AddRange(new object[] {
"a",
"b",
"c"});
this.comboBoxType.Location = new System.Drawing.Point(742, 364);
this.comboBoxType.Name = "comboBoxType";
this.comboBoxType.Size = new System.Drawing.Size(89, 32);
this.comboBoxType.TabIndex = 57;
combobox prevent typing
this.comboBoxType.DropDownStyle = ComboBoxStyle.DropDownList;