Profile Picture

Set default Index for dropdown command

Posted By JSW W. 14 Years Ago
Author
Message
Angel Chorbadzhiev
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 139, Visits: 184

Hello JSW W.,

I guess you are asking about NComboBoxCommand control.

You can set the default index as follows:

NComboBoxCommand comboCommand = new NComboBoxCommand();

comboCommand.HostedControl.SelectedIndex = 0;

Regards,

Angel.



JSW W.
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 127, Visits: 1
Hi
I got commandbar inserted with dropdownbox. I could not find a way to set default index for this combobox via designer. So it will be a blank box when load.

Have you got some solution?
Cheers,



Similar Topics


Reading This Topic