On an ASPX .. I am using a dropdown combo box. In this box I have of course added items. How can I TRIGGER an event (back on the server) to process the selected item and fill some additional items on the active page?
gollnick
Printable View
On an ASPX .. I am using a dropdown combo box. In this box I have of course added items. How can I TRIGGER an event (back on the server) to process the selected item and fill some additional items on the active page?
gollnick
The SelectedIndexChanged event will fire when something is chosen from the combo.
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
string myString;
myString = comboBox1.SelectedItem.Value;
}
It does, yes .. but not automatically. I want the trip back to the serverside to be immediate and automatic... As soon as they leave the combo...
gollnick
If you're autopostback property is set to true then surely it will automatically post.
Man .. do I feel dumb .... thanks.....
gollnick
Thanks
No probs.
I used to make that mistake all the time. Drove me nuts.