JS:
Ext.net.Mask.show({ msg: "执行中..." });
Ext.net.Mask.hide();
如果在同步执行进程中有可能无法显示,这时可以使用
var a = function(){
Ext.net.Mask.show({ msg: "执行中..." });
setTimeout(function(){b();},200);
}
var b = function(){
Ext.net.Mask.hide();
}
C#:
X.Mask.Show(new MaskConfig { Msg = "执行中......." }); X.Mask.Hide();