combobox dropdown on editmodestarting event

Posted by: daniel-ocallaghan7 on 8 September 2017, 1:11 pm EST

  • Posted 8 September 2017, 1:11 pm EST

    Hey everyone,


    Basically, my comboboxcelltype has autocompletemode setup on it. The functionality I would like, if for the combobox to dropdown as the user begins editing. So if a user types f, the combobox would drop down. I can't seem to get that to happen though. I am guessing it is a quick solution to implement and I look like a fool for having to ask. Thanks for your help.


    -Dan

  • Replied 8 September 2017, 1:11 pm EST

    Dan -

    By default, the drop down will not display when using AutoComplete.  See if this post helps you out...

    http://www.clubfarpoint.com/Forums/forums/thread/52747.aspx
  • Replied 8 September 2017, 1:11 pm EST

    That thread you posted was very helpful. Thank you very much. In the editmodeon event, I used the following piece of code:


    if(DefinitionGridView.ActiveCell.CellType.GetType() == typeof(ComboBoxCellType))


             ((FarPoint.Win.FpCombo)GridView.EditingControl).DroppedDown = true;


     

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels