Originally Posted by
garrisrd
Changing the OnEvent from 'Change' to 'Select' did the trick.
Thanks for the help.
Rick
Excellent. Thanks for the update.
The reason this issue was happening was because of a few reasons:
1. The MultiCombo <Change> event is not fired until the field looses focus. If you click the trigger button to open the MultiCombo options, selected something(s), then clicked the "Next" Button without first clicking on the Page, or any other element on the Page... the Button <Click> event may be firing before the MultiCombo <Change> event. This created a Race Condition.
2. If you set .ajaxViewStateMode="Enabled" in the Web.config, both the MultiCombo and Button will send ViewState data back to the server at the same time. For the sample to work correctly, the order in which the server receives this ViewState data is critical (see #1).
3. We think @daniil was not able to reproduce the issue (at least consistently, now able to reproduce 1/10 times) was for some reason his computer/server/browser/etc and Ext.NET were running VERY efficiently. The result of the MultiCombo <Change> event was responding before the Button <Click> event occurred. This is a sub millisecond response time. This is a good thing, although in @daniil's environment, the MultiCombo was always winning the Race Condition.
By changing the MultiCombo <Change> event to <Select> the DirectEvent is requested on each item clicked in the MultiCombo. This avoids the race condition.
Hope this helps.