or
I have a combobox defined like this:
| cmbOrigin.Items.Clear(); |
| cmbOrigin.AutoCompleteMode = AutoCompleteMode.SuggestAppend; |
| cmbOrigin.NullText = Transat.PDP.Client.Properties.Resources.ControlDataOriginNullText; |
| foreach (MyItem i in ListOfMyItems) |
| { |
| cmbOrigin.Items.Add(new RadComboBoxItem(string.Format("{0} - {1}", i.Code, i.Nom), i)); |
| } |
I want to have the AutoCompleteMode set to SuggestAppend so that the rest of the text get showed and the list is showed too.
What i dont want is the user to be able to type 2 letters and then hit backspace and go out of the combobox leaving me with an inconsistant value.
how can i force the user to pick a valid entry in the combobox?
thanks
mateo
| Private Sub WorkCentreLogsToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WorkCentreLogsToolStripMenuItem.Click |
| frmWorkCentreLog.MdiParent = Me |
| frmWorkCentreLog.WindowState = FormWindowState.Maximized |
| frmWorkCentreLog.Show() |
| End Sub |
| tarefasTableAdapter1.Fill(bdcrmDataSet.tarefas); AppointmentMappingInfo appointmentMappingInfo = new AppointmentMappingInfo(); appointmentMappingInfo.Start = "startdate"; appointmentMappingInfo.End = "enddate"; appointmentMappingInfo.Summary = "smallinfo"; appointmentMappingInfo.Description = "description"; schedulerBindingDataSource1.EventProvider.Mapping = appointmentMappingInfo; radScheduler1.DataSource = schedulerBindingDataSource1; |