📄 defaultcs.aspx
字号:
<%@ Page AutoEventWireup="false" CodeBehind="DefaultCS.aspx.cs" Inherits="Telerik.CallbackExamplesCSharp.Functionality.GettingSettingValues.DefaultCS" Language="c#" %>
<%@ 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="radClb" Namespace="Telerik.WebControls" Assembly="RadCallback" %>
<!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 -->
<!-- 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#" XhtmlCompliant="false"></telerik:Header>
<!-- content start -->
<table cellspacing="11">
<tr>
<td class="module">
<asp:Label id="Label1" runat="server" Font-Bold="True"> Original</asp:Label><br>
<br>
<asp:CheckBox id="CheckBox1" runat="server" Text="Original" Checked="True"></asp:CheckBox><br>
<asp:CheckBoxList id="CheckBoxList1" runat="server" Width="113px">
<asp:ListItem Value="Item 1">Item 1</asp:ListItem>
<asp:ListItem Value="Item 2" Selected="True">Item 2</asp:ListItem>
<asp:ListItem Value="Item 3">Item 3</asp:ListItem>
</asp:CheckBoxList>
<asp:DropDownList id="DropDownList1" runat="server">
<asp:ListItem Value="item 1">item 1</asp:ListItem>
<asp:ListItem Value="item 2">item 2</asp:ListItem>
<asp:ListItem Value="item 3">item 3</asp:ListItem>
</asp:DropDownList>
<asp:ListBox id="ListBox1" runat="server" SelectionMode="Multiple">
<asp:ListItem Value="Item 1" Selected="True">Item 1</asp:ListItem>
<asp:ListItem Value="Item 2">Item 2</asp:ListItem>
<asp:ListItem Value="Item 3" Selected="True">Item 3</asp:ListItem>
</asp:ListBox>
<asp:RadioButtonList id="RadioButtonList1" runat="server" Width="112px">
<asp:ListItem Value="item 1">item 1</asp:ListItem>
<asp:ListItem Value="item 2">item 2</asp:ListItem>
<asp:ListItem Value="item 3" Selected="True">item 3</asp:ListItem>
</asp:RadioButtonList>
<asp:TextBox id="TextBox1" runat="server">sample text</asp:TextBox>
</td>
<td class="module">
<asp:Panel ID="Panel1" runat="server">
<asp:Label id="Label2" runat="server" Font-Bold="True" style="COLOR:gray">Copied</asp:Label><br>
<br>
<asp:CheckBox id="CheckBox2" runat="server" Text="Copied" Enabled="False"></asp:CheckBox>
<asp:CheckBoxList id="CheckBoxList2" runat="server" Width="102px" Enabled="False">
<asp:ListItem Value="item 1">item 1</asp:ListItem>
<asp:ListItem Value="item 2">item 2</asp:ListItem>
<asp:ListItem Value="item 3">item 3</asp:ListItem>
</asp:CheckBoxList>
<asp:DropDownList id="DropDownList2" runat="server" Enabled="False">
<asp:ListItem Value="item 1">item 1</asp:ListItem>
<asp:ListItem Value="item 2" Selected="True">item 2</asp:ListItem>
<asp:ListItem Value="item 3">item 3</asp:ListItem>
</asp:DropDownList>
<asp:ListBox id="ListBox2" runat="server" SelectionMode="Multiple" Enabled="False">
<asp:ListItem Value="item 1">item 1</asp:ListItem>
<asp:ListItem Value="item 2">item 2</asp:ListItem>
<asp:ListItem Value="item 3">item 3</asp:ListItem>
</asp:ListBox>
<asp:RadioButtonList id="RadioButtonList2" runat="server" Width="96px" Enabled="False">
<asp:ListItem Value="item 1">item 1</asp:ListItem>
<asp:ListItem Value="item 2">item 2</asp:ListItem>
<asp:ListItem Value="item 3">item 3</asp:ListItem>
</asp:RadioButtonList>
<asp:TextBox id="TextBox2" runat="server" Enabled="False"></asp:TextBox>
</asp:Panel>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<radClb:CallbackButton id="CallbackButton1" runat="server" DisableAtCallback="True" Text="Copy Contents"
Width="362px" CssClass="button" ControlsToUpdate="Panel1,LoadingPanel1"></radClb:CallbackButton>
</td>
</tr>
</table>
<radClb:LoadingPanel id="LoadingPanel1" runat="server">
<img id="Img1" alt="" src="~/Img/Loading.gif" runat="server" />
</radClb:LoadingPanel>
<!-- content end -->
<telerik:Footer runat="server" ID="Footer1"></telerik:Footer>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -