FineUI/FineUI.Examples/aspnet/aspnet_literal.aspx
三生石上 f5a07a4e99 v4.2.3
2016-01-10 01:15:27 -05:00

28 lines
989 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="aspnet_literal.aspx.cs"
Inherits="FineUI.Examples.aspnet.aspnet_literal" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AjaxAspnetControls="Label1,Literal1,Literal2_Container" runat="server" />
<asp:Label ID="Label1" Text="Label1" runat="server"></asp:Label>
<br />
<asp:Literal ID="Literal1" Text="Literal1" runat="server"></asp:Literal>
<br />
<div id="Literal2_Container">
<asp:Literal ID="Literal2" Text="Literal2" runat="server"></asp:Literal>
</div>
<br />
<f:Button ID="Button1" runat="server" Text="更新上面几个文本值" OnClick="Button1_Click">
</f:Button>
<br />
注意只有Label1和Literal2的值更新了。
</form>
</body>
</html>