|
-
Mar 5th, 2006, 12:37 PM
#1
Thread Starter
Hyperactive Member
Event on Dropdown Select
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
-
Mar 6th, 2006, 06:33 AM
#2
Fanatic Member
Re: Event on Dropdown Select
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;
}
-
Mar 6th, 2006, 06:45 AM
#3
Thread Starter
Hyperactive Member
Re: Event on Dropdown Select
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
-
Mar 6th, 2006, 07:02 AM
#4
Fanatic Member
Re: Event on Dropdown Select
If you're autopostback property is set to true then surely it will automatically post.
-
Mar 6th, 2006, 08:00 AM
#5
Thread Starter
Hyperactive Member
Re: Event on Dropdown Select
Man .. do I feel dumb .... thanks.....
gollnick
-
Mar 6th, 2006, 08:01 AM
#6
Thread Starter
Hyperactive Member
Resolved: Event on Dropdown Select
-
Mar 7th, 2006, 05:02 AM
#7
Fanatic Member
Re: Event on Dropdown Select
No probs.
I used to make that mistake all the time. Drove me nuts.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|