In HTML DOM, the selectedIndex property sets or returns the index of the selected option in a dropdown list. The index starts at 0.
Questions tagged [selectedindex]
354 questions
-1
votes
1 answer
Radio button selected index not working
So I have a sipme ASP.NET Web Page that prints the info of one's gender stacked dynamically in a radio button list:
protected void Page_Load(object sender, EventArgs e)
{
String[] genders = new String[2];
genders[0] = "Male";
genders[1]…

David Mathers
- 163
- 2
- 7
-1
votes
1 answer
how to Increase selected cell height of uitableview in swift?
this is what i want to achieve. When user tap on a cell, it expands showing some extra buttons on it.
Any tutorial or sample code in swift?
As i am a newbie, a beginner level and detailed approach will be…

Aqeel iqbal
- 515
- 5
- 18
-1
votes
1 answer
ComboBox SelectedIndex always returns -1
I am attempting to pull in a list of printers on a persons computer and give that person the ability to select a printer. I am using a ComboBox to display the list of installed printers (but have tried multiple other Controls).
I have placed this…

Xyletic
- 1
-1
votes
1 answer
ComboBox.Items.IndexOf returns -1
I have a ComboBox which is populated on Page Load event. Just after populating the ComboBox I call another method which returns a value that I want to make the default value of the ComboBox when Page loads. How can I change the selectedIndex to a…

Huma Ali
- 1,759
- 7
- 40
- 66
-1
votes
2 answers
How would I reload a page with a certain selectedIndex automatically selected from a dropdown list?
I have an external list that is being read to form the values in the select list I have on my webpage. When an item is selected it updates 3 bar graphs that are located in another area of code. I use setItem() under the on(change) function to…

Nicole Pinto
- 364
- 1
- 22
-1
votes
1 answer
C# Datagridview selected row
I have a datagridview where i have implemented a search function. By entering characters while datagridview is in focus the first row of the grid with the characters will be selected.
I use:
dtgView[index].Selected =…

duta
- 1
- 2
-1
votes
1 answer
How can I stop multiple forms from opening?
What is happening here is that when I click on someone that is a Student in myListBox to open their details, a windows form showing their details will show up and so would a windows form showing showing the details for the first Teacher that is in…

Kash
- 1
- 2
-2
votes
1 answer
How to open a screen on flutter bottom navigation bar by passing selected index
I have three screens in my bottom navigation bar. One screen contains to button to the other screen. Normally when i click on the button, I want it to open the respective screen while maintaining the scaffold. This is how I proceeded: I added a…

gunKev
- 1
- 3
-2
votes
2 answers
Combo box c# not allow modify selected index
I got a combobox and i want that the string of the selected index will not be possible to edit
how can i do it?
thanks

cheziHoyzer
- 4,803
- 12
- 54
- 81