Wednesday, March 21, 2012

Delayed events.

i've been working on this all day and haven't made it very far.

I have 3 combos in an updatepanel with autopostback =true. combo 2 is dependant on 1, and combo 3 is dependant on 1 or 2. When i select a value for combo1, it's SelectedIndexChanged fires. Inside his procedure there is code to set the values of the other combos. The SelectedIndexChanged events don't fire for the other combos. Instead they wait until another button has been pressed then they fire before that buttons clicked event. I've tried calling the update method of the updatepanel within the selectedIndexChanged event of combo 1 but this doesn;t help. i've also put each combo into it's own update panel and tried calling their update method from combo1 changed event, but no success their either. is there a way for me to force the queued events to fire?

any help would be appreciated,

thanks

kenny.

No need to reinvent the wheel; I'd recommend using theCascadingDropDown control.

-Damien


cheers damien,

i'll take a look into it.

No comments:

Post a Comment