📄 defaultvb.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="DefaultVB.aspx.vb" Inherits="Telerik.CallbackExamplesVB.Controls.Panel.ThirdParty.DefaultVB" Language="vb" %>
<!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="VB"></telerik:Header>
<!-- content start -->
<table style="width:100%;">
<tr>
<td style="width:50%;vertical-align:top;">
<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" Text="Button" runat="server" style="vertical-align:bottom;"></asp:Button>
<asp:LinkButton ID="LinkButton1" Text="LinkButton" runat="server" style="vertical-align:bottom;"></asp:LinkButton>
<asp:ImageButton ID="ImageButton1" BorderWidth="0px" ImageUrl="~/Img/telerikLogo.gif" AlternateText="ImageButton" runat="server" style="vertical-align:bottom;"></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" AutoPostBack="True" Text="CheckBox1" runat="server"></asp:CheckBox>
</td>
<td>
<asp:CheckBoxList ID="CheckBoxList1" AutoPostBack="True" runat="server">
<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;" AutoPostBack="True" DataSource='<%# new String(){"Item1","Item2", "Item3"} %>' runat="server"></asp:DropDownList>
<asp:ListBox style="vertical-align:top;" ID="ListBox1" DataSource='<%# new String(){"Item1","Item2", "Item3"} %>' AutoPostBack="True" runat="server"></asp:ListBox>
<asp:TextBox style="vertical-align:top;" ID="TextBox1" AutoPostBack="True" runat="server"></asp:TextBox>
<br/><br/>
</div><br/><br/>
</radclb:CallbackPanel>
</td>
<td style="vertical-align:top;">
<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" AutoPostBack="True" Text="RadioButton1" runat="server"></asp:RadioButton>
</td>
<td>
<asp:RadioButtonList ID="RadioButtonList1" AutoPostBack="True" runat="server">
<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 style="width:30%">
<asp:DataGrid ID="DataGrid1" DataSource='<%# new String(){"Item1","Item2", "Item3", "Item4", "Item5", "Item6", "Item7", "Item8"} %>' AllowSorting="True" runat="server"></asp:DataGrid>
</td>
<td>
<asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>
</td>
</tr>
</table>
<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 + -