FineUI/FineUI.Examples/dropdownlist/databind/dropdownlist_datatable.aspx

30 lines
1.2 KiB
Plaintext
Raw Normal View History

2013-11-01 14:13:51 +08:00
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="dropdownlist_datatable.aspx.cs"
Inherits="FineUI.Examples.dropdownlist.dropdownlist_datatable" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title></title>
<link href="../../css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<x:PageManager ID="PageManager1" runat="server" />
<x:SimpleForm ID="SimpleForm1" BodyPadding="5px" runat="server" Width="450px" EnableFrame="true" EnableCollapse="true"
ShowBorder="True" Title="简单表单" ShowHeader="True">
<Items>
<x:DropDownList runat="server" ID="DropDownList1" AutoPostBack="true" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
</x:DropDownList>
<x:Button ID="btnSelectItem6" Text="选中“选项 6”" runat="server" OnClick="btnSelectItem6_Click">
</x:Button>
<x:Label runat="server" ID="labResult">
</x:Label>
</Items>
</x:SimpleForm>
<br />
<br />
注:这个下拉列表在选择项改变时自动回发。
</form>
</body>
</html>