📄 defaultvb.aspx
字号:
<%@ Register TagPrefix="radClb" Namespace="Telerik.WebControls" Assembly="RadCallback" %>
<%@ Page AutoEventWireup="false" Inherits="Telerik.CallbackExamplesVB.Controls.CheckBox.DefaultVB" CodeBehind="DefaultVB.aspx.vb" 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" %>
<!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="VB" AccessibilityLevel="AA"></telerik:Header>
<!-- content start -->
<table class="module" style="WIDTH: 370px;" cellspacing="6">
<tr>
<td style="width: 100px;">
<label for="tbName">
<asp:Label id="Label3" runat="server">First Name:</asp:Label>
</label>
</td>
<td style="width: 280px;">
<asp:TextBox Runat="server" ID="tbName"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<label for="tbLastName">
<asp:Label id="Label4" runat="server">Last Name:</asp:Label>
</label>
</td>
<td>
<asp:TextBox Runat="server" ID="tbLastName"></asp:TextBox>
</td>
</tr>
<tr>
<td></td>
<td>
<radClb:CallbackCheckBox id="cbAdditionaInformation" runat="server" StatusLabel-LabelID="statusLabel" StatusLabel-BusyMessage="Busy..."
StatusLabel-ReadyMessage="Ready!" Text="Add Contact Information" DisableAtCallback="False" ControlsToUpdate="outerPanel,LoadingPanel2"></radClb:CallbackCheckBox>
</td>
</tr>
<tr>
<td colspan="2">
<asp:panel id="outerPanel" runat="server">
<asp:Panel id="innerPanel" runat="server" Visible="False">
<table cellSpacing="3" cellPadding="0" width="100%">
<tr>
<td style="width: 92px;">
<asp:Label id="Label1" runat="server">Address:</asp:Label></td>
<td>
<asp:TextBox id="TextBox2" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>
<asp:Label id="Label2" runat="server">Phone Number:</asp:Label></td>
<td>
<asp:TextBox id="TextBox1" runat="server"></asp:TextBox></td>
</tr>
</table>
</asp:Panel>
</asp:panel>
</td>
</tr>
<tr>
<td></td>
<td><radClb:CallbackCheckBox id="cbLicenseAgreement" Text="Show Terms of Use" StatusLabel-LabelID="statusLabel" ControlsToUpdate="panelLA,LoadingPanel2"
StatusLabel-BusyMessage="Busy..." StatusLabel-ReadyMessage="Ready!" runat="server" DisableAtCallback="False"></radClb:CallbackCheckBox></td>
</tr>
<tr>
<td colspan="2">
<asp:panel id="panelLA" runat="server">
<asp:TextBox style="text-align: left;" id="tbLA" runat="server" Visible="False" Width="350px"
Height="163px" TextMode="MultiLine">
The following are terms of a legal agreement between you and telerik. By accessing, browsing and/or using this web site, you acknowledge that you have read, understood, and agree, to be bound by these terms and to comply with all applicable laws and regulations. If you do not agree to these terms, do not use this web site.
Information on this Web site may contain technical inaccuracies or typographical errors. Information may be changed or updated without notice. telerik may also make improvements and/or changes in the products and/or the programs described in this information at any time without notice.
telerik assumes no responsibility regarding the accuracy of the information that is provided by telerik and use of such information is at the recipient's own risk. telerik provides no assurances that any reported problems may be resolved with the use of any information that telerik provides.
</asp:TextBox>
<br />
<br />
<radClb:CallbackCheckBox id="cbIAgree" style="MARGIN-LEFT: 115px" runat="server" StatusLabel-LabelID="statusLabel"
StatusLabel-BusyMessage="Busy..." StatusLabel-ReadyMessage="Ready!" DisableAtCallback="False" Text="I Agree to the Terms of Use"
Visible="False" ControlsToUpdate="btnSubmit,LoadingPanel2"></radClb:CallbackCheckBox>
</asp:panel>
</td>
</tr>
<tr>
<td></td>
<td>
<asp:Button id="btnSubmit" runat="server" Text="Submit" Width="151px" Enabled="False"></asp:Button>
</td>
</tr>
<tr>
<td colspan="2" style="padding: 10px; border: 1px solid gray; background-color: #ffffe1;">
<asp:Label id="label11" runat="server" Text="Callback status: "></asp:Label><asp:Label ID="statusLabel" runat="Server" Font-Bold="True">Ready!</asp:Label>
</td>
</tr>
</table>
<radClb:LoadingPanel id="LoadingPanel2" runat="server">
<img id="Img1" alt="" src="~/Img/LoadingProgressBar.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 + -