FineUI/FineUI.Examples/form/checkbox.aspx
三生石上 8e116609c6 v4.2.0
2015-05-19 14:45:47 +08:00

34 lines
1.4 KiB
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="checkbox.aspx.cs" Inherits="FineUI.Examples.form.checkbox" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title></title>
<link href="../res/css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" runat="server" />
<f:SimpleForm ID="SimpleForm1" BodyPadding="5px" Width="550px" EnableCollapse="true"
Title="简单表单" runat="server">
<Items>
<f:CheckBox ID="CheckBox2" ShowLabel="false" runat="server" Text="复选框" Checked="True">
</f:CheckBox>
<f:Button ID="btnSelectCheckBox" Text="选择/反选上面的复选框" OnClick="btnSelectCheckBox_Click"
runat="server">
</f:Button>
<f:Label ID="Label1" runat="server" ShowEmptyLabel="true">
</f:Label>
<f:CheckBox ID="CheckBox1" ShowLabel="false" runat="server" Text="自动回发的复选框AutoPostBack=True" OnCheckedChanged="CheckBox1_CheckedChanged"
Checked="True" AutoPostBack="True">
</f:CheckBox>
<f:Label ID="labResult" runat="server" ShowLabel="false">
</f:Label>
</Items>
</f:SimpleForm>
</form>
</body>
</html>