⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 defaultcs.aspx

📁 Telerik是很大的第三方软件制造商
💻 ASPX
字号:
<%@ Page Language="c#" AutoEventWireup="false" Codebehind="DefaultCS.aspx.cs" Inherits="Telerik.GridExamplesCSharp.GroupBy.GroupLoadModeClient.DefaultCS" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.QuickStart" Assembly="Telerik.QuickStart" %>
<%@ Register TagPrefix="telerik" TagName="Header" Src="~/Common/Header.ascx" %>
<%@ Register TagPrefix="telerik" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %>
<%@ Register TagPrefix="telerik" TagName="Footer" Src="~/Common/Footer.ascx" %>
<%@ Register TagPrefix="radG" Namespace="Telerik.WebControls" Assembly="RadGrid" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
	<head>
		<telerik:HeadTag runat="server" ID="Headtag2"></telerik:HeadTag>
		<!-- custom head section -->
		<link href="../../Styles/ColorSchemes/Outlook/Styles.css" rel="stylesheet" type="text/css" />
        <!-- end of custom head section -->
	</head>
	<body class="BODY">
		<form runat="server" id="mainForm" method="post" style="width:100%;">
			<telerik:Header runat="server" ID="Header1" NavigationLanguage="CS"></telerik:Header>
			<!-- content start -->
			<radg:radgrid id="RadGrid1" runat="server" Width="95%" PageSize="20" AllowSorting="True" AllowMultiRowSelection="True"
				CssClass="RadGrid" AllowPaging="True" ShowGroupPanel="True" AutoGenerateColumns="False" GridLines="None">
				<GroupHeaderItemStyle Font-Bold="True" Height="35px" ForeColor="#3366CC" CssClass="GroupHeaderItem" VerticalAlign="Bottom"></GroupHeaderItemStyle>
				<PagerStyle Height="22px" CssClass="GridPager" Mode="NumericPages"></PagerStyle>
				<HeaderStyle HorizontalAlign="left" Height="22px" CssClass="GridHeader"></HeaderStyle>
				<GroupPanel>
					<PanelItemsStyle CellSpacing="0" CellPadding="0" CssClass="PanelItemsStyle"></PanelItemsStyle>
					<PanelStyle CellSpacing="0" CellPadding="0" Height="22px" CssClass="PanelStyle"></PanelStyle>
				</GroupPanel>
				<MasterTableView CssClass="MasterTable" DataMember="Customers" Width="100%" GroupLoadMode="Client">
					<GroupByExpressions>
						<radg:GridGroupByExpression>
							<SelectFields>
								<radg:GridGroupByField FieldAlias="Country" FieldName="Country"></radg:GridGroupByField>
							</SelectFields>
							<GroupByFields>
								<radg:GridGroupByField FieldAlias="Country" FieldName="Country"></radg:GridGroupByField>
							</GroupByFields>
						</radg:GridGroupByExpression>
					</GroupByExpressions>
					<Columns>
						<radg:GridBoundColumn SortExpression="Country" HeaderText="Country" HeaderButtonType="TextButton" DataField="Country"></radg:GridBoundColumn>
						<radg:GridBoundColumn SortExpression="City" HeaderText="City" HeaderButtonType="TextButton" DataField="City"></radg:GridBoundColumn>
						<radg:GridBoundColumn SortExpression="CompanyName" HeaderText="Company Name" HeaderButtonType="TextButton"
							DataField="CompanyName"></radg:GridBoundColumn>
						<radg:GridBoundColumn SortExpression="ContactName" HeaderText="Contact Name" HeaderButtonType="TextButton"
							DataField="ContactName"></radg:GridBoundColumn>
						<radg:GridBoundColumn SortExpression="ContactTitle" HeaderText="Contact Title" HeaderButtonType="TextButton"
							DataField="ContactTitle"></radg:GridBoundColumn>
					</Columns>
				</MasterTableView>
				<ClientSettings AllowGroupExpandCollapse="True" ReorderColumnsOnClient="True" AllowDragToGroup="True" AllowColumnsReorder="True">
					<Selecting AllowRowSelect="True"></Selecting>
					<Resizing AllowRowResize="True" AllowColumnResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="False"></Resizing>
				</ClientSettings>
			</radg:radgrid>
			<br />
			<asp:button id="btnPostBack" CssClass="button" runat="server" Text="PostBack" Width="120px"></asp:button>&nbsp;
			<br />
			<!-- content end -->
			<telerik:Footer runat="server" ID="Footer1"></telerik:Footer>
		</form>
	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -