Created dashboard, have EpiUltraCombo with hard-coded list. Want to set the default for it


I want to be able to set the default on my dashboard so the user won’t have to select anything on the ultraCombo if they don’t need to.

I have tried setting with .SelectedText but still comes up empty.

Any ideas, please?

All help is appreciated.


Is it a Calculated Field? If so, set a default if it’s blank. If not, you need .SelectedIndex in the Customization.

It is not a calculated field.

I tried cboPrinterSelect.SelectedIndex = 0; and it gave me an error.

Error: CS1061 - line 102 (297) - ‘Ice.Lib.Framework.EpiUltraCombo’ does not contain a definition for ‘SelectedIndex’ and no extension method ‘SelectedIndex’ accepting a first argument of type ‘Ice.Lib.Framework.EpiUltraCombo’ could be found (are you missing a using directive or an assembly reference?)

How do you use it? What am I doing wrong?

I temp set it up to throw a messageBox to tell them no printer is selected.

If there is a way to set the default, I would prefer that. If not, I can live with what I done.

Any ideas?

Try this.

cboPrinterSelect.Rows[0].Selected = true;

I have been trying to figure out how to do this as well.
I have a EpiCombo that uses a User Code for it’s list and I need to set one of the values as the default BEFORE the dashboards auto refresh activates.
I looked for an OnLoad event on the custom Tracker but there doesn’t seem to be one.
If it is possible perhaps additional details would be helpful.

It is my understanding that unlike a normal combo, its all about Combo.Value = “YourValue”