Coolite 消息对话框用法

方法一:

  Ext.Msg.Alert("消息", "请输入检索内容!").Show();

 

方法二:

   Ext.Msg.Show(new MessageBox.Config { Title = "查询结果", Message = "<font style='color:black;'>没有找到任何数据!</font>", Buttons =                            MessageBox.Button.OK, Icon = MessageBox.Icon.INFO });

 

方法三:

Ext.Msg.confirm('Confirm', '你想删除它?',function(btn){if(btn=='yes')window.location.href='Delete.aspx';});  

posted @ 2010-11-14 15:10  海乐学习  阅读(417)  评论(0编辑  收藏  举报