the _hideImplementation method is called on every Dispose no matter if the dialog is open or not, if this method is called more then 10 times the next dialog is placed behind all content..
_hideImplementation: function() {
// Internal implementation to hide the modal dialog
Sys.Extended.UI.ModalPopupBehavior._openCount--;
this._backgroundElement.style.display = 'none';
this._foregroundElement.style.display = 'none';
this.restoreTab();
this._detachPopup();
},
Please change to:
_hideImplementation: function() {
// Internal implementation to hide the modal dialog
if (this._showing) {
Sys.Extended.UI.ModalPopupBehavior._openCount--;
}
this._backgroundElement.style.display = 'none';
this._foregroundElement.style.display = 'none';
this.restoreTab();
this._detachPopup();
},
im not 100% sure but i think disposed is called when the dialog is placed inside a updatepanel and a partial postback happens..
I can't provide example but i have tried the solution and the z-index is kept at 10000, with out the fix the z-index decreases each time a post back happens.
Comments: AJAX Control Toolkit was moved to GitHub: https://github.com/DevExpress/AjaxControlToolkit The fix for this issue is available with the v16.1 release: https://github.com/DevExpress/AjaxControlToolkit/releases/tag/16.1.0
_hideImplementation: function() {
// Internal implementation to hide the modal dialog
Sys.Extended.UI.ModalPopupBehavior._openCount--;
this._backgroundElement.style.display = 'none';
this._foregroundElement.style.display = 'none';
this.restoreTab();
this._detachPopup();
},
Please change to:
_hideImplementation: function() {
// Internal implementation to hide the modal dialog
if (this._showing) {
Sys.Extended.UI.ModalPopupBehavior._openCount--;
}
this._backgroundElement.style.display = 'none';
this._foregroundElement.style.display = 'none';
this.restoreTab();
this._detachPopup();
},
im not 100% sure but i think disposed is called when the dialog is placed inside a updatepanel and a partial postback happens..
I can't provide example but i have tried the solution and the z-index is kept at 10000, with out the fix the z-index decreases each time a post back happens.
Comments: AJAX Control Toolkit was moved to GitHub: https://github.com/DevExpress/AjaxControlToolkit The fix for this issue is available with the v16.1 release: https://github.com/DevExpress/AjaxControlToolkit/releases/tag/16.1.0