📄 defaultvb.aspx
字号:
<%@ Page CodeBehind="DefaultVB.aspx.vb" Language="vb" AutoEventWireup="false" Inherits="Telerik.ExamplesVBNET.RadCalendar.Programming.DayRenderEvent.DefaultVB" %>
<%@ 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="radCln" Namespace="Telerik.WebControls" Assembly="RadCalendar" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head runat="server">
<telerik:headtag id="Headtag1" runat="server"></telerik:headtag>
</head>
<body class="BODY">
<form id="mainForm" style="WIDTH: 100%" method="post" runat="server">
<telerik:header id="Header1" runat="server" NavigationLanguage="VB"></telerik:header>
<table id="Table1" cellspacing="0" cellpadding="0" width="90%" style="MARGIN:auto" border="0">
<tr>
<td width="50%">
<radcln:radcalendar id="Radcalendar2" runat="server" Borderstyle="Solid" BorderWidth="0px" CssClass="calendarWrapper"
style="BORDER-LEFT-COLOR:#ececec; BORDER-BOTTOM-COLOR:#ececec; BORDER-TOP-COLOR:#ececec; BORDER-RIGHT-COLOR:#ececec"
DefaultCellPadding="0" Font-Names="Arial, Verdana, Tahoma" ForeColor="Black" TitleAlign="Center"
TitleFormat="MMMM yyyy" FastNavigationPrevImage="fastNavLeft.gif" NavigationPrevImage="arrowLeft.gif"
FastNavigationNextImage="fastNavRight.gif" NavigationNextImage="arrowRight.gif" NavigationPrevText="Previous"
NavigationNextText="Next" FastNavigationPrevText="Previous Fast" FastNavigationNextText="NextFast"
AutoPostBackOnNavigation="True" EnableMultiSelect="True" EnableColumnSelectors="True" EnableRowSelectors="True"
UseWeekNumbersAsSelectors="True" Skin="Default" OperationType="Ajax" DefaultViewSettingsID="TableLayout"
DefaultViewCellSettingsID="VisualSetting1" OtherMonthSettingsID="OtherMonth" WeekendSettingsID="VisualSetting1"
SelectorVisualSettingsID="VisualSetting2" TitleVisualSettingsID="TitleBar">
<visualsettings>
<radcln:RichUIDisplayInfo ID="VisualSetting1" HoverCssClass="radCalHover" DisableCssClass="radCalDisable"
SelectCssClass="radCalSelect" DefaultCssClass="radCalDefault"></radcln:RichUIDisplayInfo>
<radcln:RichUIDisplayInfo ID="VisualSetting2" DefaultCssClass="DaysOfWeek"></radcln:RichUIDisplayInfo>
<radcln:RichUIDisplayInfo ID="OtherMonth" HoverCssClass="otherMonth" DisableCssClass="otherMonth" SelectCssClass="otherMonth"
DefaultCssClass="otherMonth"></radcln:RichUIDisplayInfo>
<radcln:RichUIDisplayInfo ID="TitleBar" DefaultCssClass="titlebar"></radcln:RichUIDisplayInfo>
<radcln:RichUIDisplayInfo ID="TableLayout" DefaultCssClass="TableLayout"></radcln:RichUIDisplayInfo>
</visualsettings>
</radcln:radcalendar></td>
<td valign="top" class="module">
Selected date:<br />
<label for="DatesList"></label>
<asp:dropdownlist id="DatesList" runat="server" width="200px">
<asp:listitem value="1">1</asp:listitem>
<asp:listitem value="2">2</asp:listitem>
<asp:listitem value="3">3</asp:listitem>
<asp:listitem value="4">4</asp:listitem>
<asp:listitem value="5">5</asp:listitem>
<asp:listitem value="6">6</asp:listitem>
<asp:listitem value="7">7</asp:listitem>
<asp:listitem value="8">8</asp:listitem>
<asp:listitem value="9">9</asp:listitem>
<asp:listitem value="10">10</asp:listitem>
<asp:listitem value="11">11</asp:listitem>
<asp:listitem value="12">12</asp:listitem>
<asp:listitem value="13">13</asp:listitem>
<asp:listitem value="14">14</asp:listitem>
<asp:listitem value="15">15</asp:listitem>
<asp:listitem value="16">16</asp:listitem>
<asp:listitem value="17">17</asp:listitem>
<asp:listitem value="18">18</asp:listitem>
<asp:listitem value="19">19</asp:listitem>
<asp:listitem value="20">20</asp:listitem>
<asp:listitem value="21">21</asp:listitem>
<asp:listitem value="22">22</asp:listitem>
<asp:listitem value="23">23</asp:listitem>
<asp:listitem value="24">24</asp:listitem>
<asp:listitem value="25">25</asp:listitem>
<asp:listitem value="26">26</asp:listitem>
<asp:listitem value="27">27</asp:listitem>
<asp:listitem value="28">28</asp:listitem>
<asp:listitem value="29">29</asp:listitem>
<asp:listitem value="30">30</asp:listitem>
<asp:listitem value="31">31</asp:listitem>
</asp:dropdownlist><br />
<br />
Selected day color:<br />
<label for="ColorList"></label>
<asp:dropdownlist id="ColorList" runat="server" width="200px">
<asp:ListItem Value="White">White</asp:ListItem>
<asp:ListItem Value="Yellow">Yellow</asp:ListItem>
<asp:ListItem Value="Orange" Selected="True">Orange</asp:ListItem>
<asp:ListItem Value="Pink">Pink</asp:ListItem>
<asp:ListItem Value="Magenta">Magenta</asp:ListItem>
<asp:ListItem Value="Red">Red</asp:ListItem>
<asp:ListItem Value="Purple">Purple</asp:ListItem>
<asp:ListItem Value="Blue">Blue</asp:ListItem>
<asp:ListItem Value="Cyan">Cyan</asp:ListItem>
<asp:ListItem Value="Green">Green</asp:ListItem>
<asp:ListItem Value="Grey">Grey</asp:ListItem>
<asp:ListItem Value="Brown">Brown</asp:ListItem>
</asp:dropdownlist><br />
<br />
Selected day text:<br />
<label for="DayString"></label>
<asp:textbox id="DayString" runat="server" width="200px">Test</asp:textbox><br />
<br />
<asp:linkbutton id="LinkButton1" runat="server" CssClass="button" style="DISPLAY:block; TEXT-ALIGN:center"
Width="120">Apply Changes</asp:linkbutton><br />
</td>
</tr>
</table>
<br />
<telerik:footer id="Footer1" runat="server"></telerik:footer></form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -