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

📄 defaultcs.aspx

📁 Telerik是很大的第三方软件制造商
💻 ASPX
字号:
<%@ Register TagPrefix="radclb" Namespace="Telerik.WebControls" Assembly="RadCallback" %>
<%@ Register TagPrefix="telerik" TagName="Footer" Src="~/Common/Footer.ascx" %>
<%@ Register TagPrefix="telerik" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %>
<%@ Register TagPrefix="telerik" TagName="Header" Src="~/Common/Header.ascx" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.QuickStart" Assembly="Telerik.QuickStart" %>
<%@ Page AutoEventWireup="false" CodeBehind="DefaultCS.aspx.cs" Inherits="Telerik.CallbackExamplesCSharp.Controls.Panel.ThirdParty.DefaultCS" Language="c#" %>
<!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="Headtag1"></telerik:HeadTag>
		<!-- custom head section -->
		<style type="text/css">
		.preview { FONT-WEIGHT: bold; MARGIN-BOTTOM: 20px; CURSOR: default; COLOR: #333333; BORDER-BOTTOM: #333333 1px solid }
		</style>
		<!-- 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="C#"></telerik:Header>
			<!-- content start -->
			<table style="WIDTH:100%">
				<tr>
					<td>
						<radclb:CallbackPanel ID="CallbackPanel1" runat="server">
							<BR>
							<DIV class="module" style="WIDTH: 80%">
								<DIV class="preview">Button, LinkButton and ImageButton</DIV>
								<asp:Button id="Button1" style="VERTICAL-ALIGN: bottom" runat="server" Text="Button"></asp:Button>&nbsp;
								<asp:LinkButton id="LinkButton1" style="VERTICAL-ALIGN: bottom" runat="server" Text="LinkButton"></asp:LinkButton>&nbsp;
								<asp:ImageButton id="ImageButton1" style="VERTICAL-ALIGN: bottom" runat="server" BorderWidth="0px"
									ImageUrl="~/Img/telerikLogo.gif" AlternateText="ImageButton"></asp:ImageButton><BR>
								<BR>
							</DIV>
							<BR>
							<BR>
							<DIV class="module" style="WIDTH: 80%">
								<DIV class="preview">CheckBox and CheckBoxList</DIV>
								<TABLE>
									<TR>
										<TD>
											<asp:CheckBox id="CheckBox1" runat="server" Text="CheckBox1" AutoPostBack="True"></asp:CheckBox></TD>
										<TD>
											<asp:CheckBoxList id="CheckBoxList1" runat="server" AutoPostBack="True">
												<asp:ListItem Value="ListItem1"></asp:ListItem>
												<asp:ListItem Value="ListItem2"></asp:ListItem>
											</asp:CheckBoxList></TD>
									</TR>
								</TABLE>
							</DIV>
							<BR>
							<BR>
							<DIV class="module" style="WIDTH: 80%">
								<DIV class="preview">DropDownList, ListBox and TextBox</DIV>
								<BR>
								<BR>
								<asp:DropDownList id=DropDownList1 style="VERTICAL-ALIGN: top" runat="server" AutoPostBack="True" DataSource='<%# new string[]{"Item1","Item2", "Item3"} %>'>
								</asp:DropDownList>
								<asp:ListBox id=ListBox1 style="VERTICAL-ALIGN: top" runat="server" AutoPostBack="True" DataSource='<%# new string[]{"Item1","Item2", "Item3"} %>'>
								</asp:ListBox>
								<asp:TextBox id="TextBox1" style="VERTICAL-ALIGN: top" runat="server" AutoPostBack="True"></asp:TextBox><BR>
								<BR>
							</DIV>
							<BR>
							<BR>
						</radclb:CallbackPanel>
					</td>
					<td>
						<radclb:CallbackPanel ID="CallbackPanel2" runat="server">
							<BR>
							<DIV class="module" style="WIDTH: 80%">
								<DIV class="preview">RadioButton and RadioButtonList</DIV>
								<TABLE>
									<TR>
										<TD>
											<asp:RadioButton id="RadioButton1" runat="server" Text="RadioButton1" AutoPostBack="True"></asp:RadioButton></TD>
										<TD>
											<asp:RadioButtonList id="RadioButtonList1" runat="server" AutoPostBack="True">
												<asp:ListItem Value="ListItem1"></asp:ListItem>
												<asp:ListItem Value="ListItem2"></asp:ListItem>
											</asp:RadioButtonList></TD>
									</TR>
								</TABLE>
							</DIV>
							<BR>
							<BR>
							<DIV class="module" style="WIDTH: 80%">
								<DIV class="preview">DataGrid and Calendar</DIV>
								<BR>
								<TABLE width="100%">
									<TR>
										<TD>
											<asp:DataGrid id=DataGrid1 runat="server" DataSource='<%# new string[]{"Item1","Item2", "Item3", "Item4", "Item5", "Item6", "Item7", "Item8"} %>' AllowSorting="True">
											</asp:DataGrid></TD>
										<TD>
											<asp:Calendar id="Calendar1" runat="server"></asp:Calendar></TD>
									</TR>
								</TABLE>
								<BR>
							</DIV>
							<BR>
							<BR>
							<BR>
							<DIV class="module" style="WIDTH: 80%">
								<DIV class="preview">Validation</DIV>
								<BR>
								<asp:TextBox id="TextBox2" Runat="server"></asp:TextBox>
								<asp:RequiredFieldValidator id="RequiredFieldValidator1" Runat="server" ControlToValidate="TextBox2" EnableClientScript="true"
									ErrorMessage="TextBox value required!"></asp:RequiredFieldValidator><BR>
							</DIV>
							<BR>
						</radclb:CallbackPanel>
					</td>
				</tr>
			</table>
			<!-- content end -->
			<telerik:Footer runat="server" ID="Footer1"></telerik:Footer>
		</form>
	</body>
</HTML>

⌨️ 快捷键说明

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