selectedindexchanged Questions
8
Solved
public class ComboboxItem {
public string Text { get; set; }
public string Value { get; set; }
public override string ToString() { return Text; }
}
private void comboBox1_SelectedIndexChang...
Cavicorn asked 1/8, 2011 at 15:56
8
Solved
I have a DropDownList object in my web page. When I click on it and select a different value, nothing happens, even though I have a function wired up to the SelectedIndexChanged event.
First, the ...
Sense asked 5/2, 2011 at 6:1
14
Solved
If a user select all items in a .NET 2.0 ListView, the ListView will fire a SelectedIndexChanged event for every item, rather than firing an event to indicate that the selection has changed.
If th...
Far asked 17/9, 2008 at 19:38
2
Solved
We are given a Windows Form Application created from Microsoft Visual Studio's template (designer code on PasteBin 1 2 3 4) with a default ListBox exampleListBox and Button exampleButton.
We popul...
Suspend asked 3/1, 2017 at 18:48
4
Solved
I have a small C# 3.5 WinForms app I am working on that grabs the event log names from a server into a listview. When one of those items is selected, another listview is populated with the event lo...
Suppuration asked 27/8, 2010 at 16:39
5
I have an ASP.Net RadioButtonList control with AutoPostBack set to true. I also have an OnSelectedIndexChanged function that is called whenever a user changes the selection. Finally, the user is re...
Pulpwood asked 10/10, 2012 at 23:44
3
Solved
I'm working on asp.net website with Vb.net and I have a dropdownlist with autopostback = true and I need to get the selected value when I change the item or I want to get the item which fires the s...
Nozzle asked 21/2, 2012 at 2:9
5
Solved
I have a RadioButtonList in asp.net. I am trying to do a simple thing i.e. to display or hide a div on changing the radio buttons from the list.But the event OnSelectedIndexChanged is not firing. I...
Lepton asked 28/12, 2012 at 7:12
3
Solved
I am using, <base href="http://localhost:80/"> in my master page for base url,
now when I am using dropdownlist control on content page (located in localhost:80/directory1/directory2) withi...
Benzo asked 28/1, 2016 at 2:23
9
Solved
Code example:
private void comboBox_SelectedIndexChanged(object sender, EventArgs e)
{
if(some condition)
{
comboBox.Text = "new string"
}
}
My problem is that the comboBox text always shows...
Noodlehead asked 26/6, 2009 at 15:29
2
Solved
I've never dealt with checkedListBox1 until now. A program that I want to make will benefit from using it rather than having to use numerous Checkboxes.
I have the code:
private void checkedListB...
Marigraph asked 25/10, 2012 at 14:24
4
Solved
For a ListBox (With Selection mode set to One), I wish to track whether there's a selected item or none selected. To do so, I subscribed a method to SelectedIndexChanged and checked if the Selected...
Fincher asked 30/3, 2011 at 20:39
5
Solved
I'm implementing a feature that when the user press on any point in the row in a GridView the row will be selected instead of Select button.
To implement that, I'm using the following code:
pro...
Selima asked 6/6, 2011 at 10:13
2
I am working on a job board website and specifically the job search page at the moment. I am returning the jobs found into a DataBound GridView (namely gvwJobs), and within the HeaderTemplate I hav...
Industrialize asked 21/1, 2010 at 12:36
5
Solved
I'm creating a server control that basically binds two dropdown lists, one for country and one for state, and updates the state dropdown on the country's selectedindexchanged event. However, it's n...
Wandawander asked 20/2, 2009 at 16:42
2
Solved
I have been looking for a solution to this for a while though and seen many posts that show me how to do it but yet I cannot get my SelectedIndexChanged event to fire when the DropDownList is chang...
Submarginal asked 6/5, 2011 at 13:5
3
Solved
My question is similar to this: How to prevent ListBox.SelectedIndexChanged event?, but I want to ask it a different way.
Is there a simple way to determine if the 'SelectedIndexChanged' is coming...
Steelworks asked 18/6, 2010 at 17:24
2
Solved
I did follow the article TRULLY Understanding ViewState (great article btw) and populating my drop down list is working great. I've even setup a OnSelectedIndexChange event which fires almost as gr...
Stercoraceous asked 23/1, 2009 at 20:21
1
© 2022 - 2024 — McMap. All rights reserved.