Ext.Net messagebox

在Ext.Net开发中Ext.net消息提示框我们经常会用Ext.MessageBox.show()。 

在此列举最常用的配置参数:

buttons:弹出框按钮的设置,主要有以下几种:Ext.Msg.OK,
                                        Ext.Msg.OKCANCEL,
                                        Ext.Msg.CANCEL,
                                        Ext.Msg.YESNO,
                                        Ext.Msg.YESNOCANCEL

 

icon:弹出框内容前面的图标,取值为Ext.MessageBox.INFO,
                                       Ext.MessageBox.ERROR,
                                  Ext.MessageBox.WARNING,
                                  Ext.MessageBox.QUESTION

 

Ext.Msg.show({title:'提示',msg: '添加成功',buttons: Ext.Msg.OK,icon: Ext.Msg.INFO});

你可能感兴趣的:(message)