Questions tagged [selectedindexchanged]

A Microsoft .NET Framework event which occurs when the SelectedIndex property has changed.

A Microsoft .NET Framework event which occurs when the SelectedIndex property has changed.

The event can be raised from ComboBox, GridView, ListControl and ListBox objects.

http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.selectedindexchanged(v=vs.110).aspx
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.selectedindexchanged(v=vs.110).aspx
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.listcontrol.selectedindexchanged(v=vs.110).aspx
http://msdn.microsoft.com/en-us/library/system.windows.forms.listbox.selectedindexchanged(v=vs.110).aspx

305 questions
2
votes
3 answers

SelectedIndexChange Not Firing

I'm having issue with a dropdownlist updating a textbox, both held within a listview, within an update panel which in turn is in an item template. Updated I have got this working with the same code without the above containers in a different web…
SelrekJohn
  • 476
  • 2
  • 6
  • 21
2
votes
0 answers

SelectedIndexChanged event of dropdownlist in Listview not happening. in a usercontrol

I have a ListView and DropDownList(primary) and tow more and a text box, inside every Row of that ListView. All on a user control ,and using the this user control on the other usercontol(here the operations to be performed.)(we are using DNN) . …
2
votes
3 answers

Passing method as parameter to another method

I am developing project in widows c#.net. In the form i have more than 8 combobox control. I will load data to combobox2 when combobox1 selection is changed like below. private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { …
jeevacl
  • 109
  • 1
  • 12
2
votes
1 answer

ASP.NET Dropdownlist: value of ddl.text becomes the value of ddl.selectedvalue in selectedindexchanged

ASP.NET 4.0 & SQL 2008 I would like to ask for help in my coding, I don't know what's wrong or what am I missing. What I want to do is when I select an item in dropdownlist, it will give me the ID (ddlSchool.selectedvalue) and the value of the text…
2
votes
1 answer

Multiple dropdownlist

i have 4 dropdownlist. when i change the 1st dropdown, onselectindexchanged i need to change all the remaining dropdown values. I am working on it but i could change only the corresponding or next dropdown value on onselectindexchanged. Please…
user1613212
  • 93
  • 1
  • 8
2
votes
2 answers

c# dropdownlist selectedindexchanged in gridview sets selectedindex of second dropdownlist

I have a gridview with two dropdownlists populated from a db. One is a descriptive name, the other is an abbreviated name. I need to accomplish the following: When I select an item in DDL1 I need to change the selected index of DDL2 to match, and…
NJohns
  • 53
  • 2
  • 2
  • 7
2
votes
3 answers

Is it possible to change the event order?

Is it possible to change the order in which certain events are called? for instance, I have a ComboBox and when a selection is changed, I would like the SelectedIndexChanged event to be called before the TextChanged event is called. My honest…
MJLaukala
  • 171
  • 1
  • 3
  • 13
2
votes
3 answers

Selected Index changed event in javascript for html control

I have an HTML control: