Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Closed Issue: OnSelectedIndexChange firing twice using listseach extender [15952]

$
0
0
The event fires twice under the following conditions
Extender is attached to a Drop down list with autopostback is set to true.
A selection is made in the drop down list using the mouse. ddl set as trigger for the update panel

For what i understand the following is happen
Control fires event and loses focus (because of the postback). When doing so triggers the onblur event which initiates another event . (this behavior is new for the latest release)

Relevant code
_onBlur : function() {
this._disposePopupBehavior();var promptDiv = this._promptDiv;var element = this.get_element();if(promptDiv) {
this._promptDiv = null;element.parentNode.removeChild(promptDiv);}
if(!this._raiseImmediateOnChange && this._focusIndex != element.selectedIndex) {
this._raiseOnChange(element);}
}

Not sure what should be the work around.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>