defaultcs.aspx

来自「Telerik是很大的第三方软件制造商」· ASPX 代码 · 共 93 行

ASPX
93
字号
<%@ Page CodeBehind="DefaultCS.aspx.cs" Language="c#" AutoEventWireup="false" Inherits="Telerik.MenuExamplesCSharp.Menu.Examples.Design.ExpandEffects.DefaultCS" %>
<%@ 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="radM" Namespace="Telerik.WebControls" Assembly="RadMenu" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
  <head>
		<telerik:HeadTag runat="server" ID="Headtag1"></telerik:HeadTag>
  </head>
	<body class="BODY">
		<form runat="server" id="mainForm" method="post" style="WIDTH:100%">
			<telerik:Header id="Header1" runat="server" NavigationLanguage="C#" AccessibilityLevel="AAA"></telerik:Header>
			<div class="container">
	<table summary="r.a.d.menu example" style="WIDTH:600px">
	    <tr>
		    <td >
			    <radm:radmenu
				    id="RadMenu3"
				    AccessibilityEnabled="True" 
				    cssfile="~/Menu/Examples/Design/ExpandEffects/menu.css" 
				    contentfile="~/Menu/Examples/Design/ExpandEffects/menu.xml" 
				    runat="server" 
				    overlay="True"
				    imagesbasedir="~/Menu/Examples/Design/ExpandEffects/images/">
			    </radm:radmenu>
		    </td>
		<td >
			<table summary="">
				<tr>
					<td class="text" colspan="3">
						r.a.d.<b>menu</b> supports multiple filter/transition effects (IE 5.5+ only).<br/>
						<br/>
						The properties <b>"ExpandEffect"</b> and <b>"ExpandDuration"</b> of the <b>"Group"</b>
						node define the corresponding effect and its duration (in ms) when the 
						respective menu group is shown.<br/>
						<br/>
						In addition, you can set the <b>"DefaultExpandEffectDuration"</b> property of 
						r.a.d.<b>menu</b> to select expand duration for all menu groups.
					</td>
				</tr>
				<tr>
					<td class="text" ><b>Opacity</b></td>
					<td class="text" ><b>Shadow Width</b></td>
					<td class="text" ><b>Shadow Color</b></td>
				</tr>
				<tr>
					<td >
					<label for="Opacity"> </label> 
						<asp:dropdownlist runat="server" id="Opacity" autopostback="True">
							<asp:listitem value="100" selected>100%</asp:listitem>
							<asp:listitem value="90">90%</asp:listitem>
							<asp:listitem value="80">80%</asp:listitem>
							<asp:listitem value="70">70%</asp:listitem>
							<asp:listitem value="60">60%</asp:listitem>
							<asp:listitem value="50">50%</asp:listitem>
							<asp:listitem value="40">40%</asp:listitem>
							<asp:listitem value="30">30%</asp:listitem>
							<asp:listitem value="20">20%</asp:listitem>
							<asp:listitem value="10">10%</asp:listitem>
						</asp:dropdownlist>
					</td>
					<td >
					<label for="ShadowWidth"> </label>
						<asp:dropdownlist runat="server" id="ShadowWidth" autopostback="True">
							<asp:listitem value="0" selected>0</asp:listitem>
							<asp:listitem value="3">3</asp:listitem>
							<asp:listitem value="6">6</asp:listitem>
							<asp:listitem value="10">10</asp:listitem>
							<asp:listitem value="15">15</asp:listitem>
							<asp:listitem value="20">20</asp:listitem>
						</asp:dropdownlist>
					</td>
					<td >
					<label for="ShadowColor"> </label>
						<asp:dropdownlist runat="server" id="ShadowColor" autopostback="True">
							<asp:listitem value="Black" selected>Black</asp:listitem>
							<asp:listitem value="Blue">Blue</asp:listitem>
							<asp:listitem value="Green">Green</asp:listitem>
						</asp:dropdownlist>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
			</div>
			<br />
			<telerik:Footer id="Footer1" runat="server"></telerik:Footer>
		</form>
	</body>
</html>

⌨️ 快捷键说明

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