日期:2014-05-16 浏览次数:20526 次
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestMsg.aspx.cs" Inherits="ExtTest.TestMsg" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
<link rel="stylesheet" type="text/css" href="/resources/css/ext-all.css" />
<script src="/Script/ext-all-debug.js" type="text/javascript"></script>
<%--<script src="Script/locale/ext-lang-sl.js" type="text/javascript"></script>--%>
<script type="text/javascript">
Ext.onReady(function(){
//空白图片
Ext.BLANK_IMAGE_URL = 'Style/Images/s.gif';
//警告对话框
//Ext.Msg.alert('Hello', 'World');
//对话框
Ext.Msg.show({
title: 'Milton',
msg: 'Have you seen my stapler?',
buttons: {"OK":"这是OK","NO":"这是NO","Cancel":"这是Cancel"}
});
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>