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.


  • 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...
  • 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:

    <FONT size=2>

    </FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2>(DefinitionGridView.ActiveCell.CellType.GetType() == </FONT><FONT color=#0000ff size=2>typeof</FONT><FONT size=2>(</FONT><FONT color=#2b91af size=2>ComboBoxCellType</FONT><FONT size=2>)</FONT><FONT size=2>)</FONT>

    <FONT size=2>         ((FarPoint.Win.</FONT><FONT color=#2b91af size=2>FpCombo</FONT><FONT size=2>)GridView.EditingControl).DroppedDown = </FONT><FONT color=#0000ff size=2>true</FONT><FONT size=2>;</FONT>

    <FONT size=2> 

Need extra support?

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

Learn More

Forum Channels