⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setcellproperties.ascx

📁 Telerik是很大的第三方软件制造商
💻 ASCX
字号:
<%@ Control Language="c#" Inherits="Telerik.WebControls.EditorDialogControls.SetCellProperties" AutoEventWireUp="false" CodeBehind="SetCellProperties.ascx.cs" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%@ Register TagPrefix="telerik" TagName="CellPropertiesControl" Src="../Controls/CellPropertiesControl.ascx" %>
<%@ Register TagPrefix="telerik" TagName="TabControl" Src="../Controls/TabControl.ascx" %>
<%@ Register TagPrefix="telerik" NameSpace="Telerik.WebControls.EditorControls" Assembly="RadEditor" %>
<%@ OutputCache Duration="600" VaryByParam="Language;SkinPath" %>
<table id="mainTable" width="470px" cellpadding="0" cellspacing="0" class="MainTable" border="0">
	<tr>
		<th height="39" valign="bottom">
			<telerik:tabcontrol id="TabHolder" runat="server" resizecontrolid="mainTable">
				<telerik:tab image="Dialogs/TabIcons/CellPropertiesTab1.gif" text="<script>localization.showText('Tab1HeaderText');</script>" selected="True" elementid="mainTable"/>
			</telerik:tabcontrol>
		</th>
	</tr>
	<tr>
		<td class="MainTableContentCell">
			<table border="0" cellpadding="0" cellspacing="0" width="100%">
				<tr>
					<td>
						<table width="100%" height="100%" cellpadding="6" cellspacing="0">
						<tr>
							<td valign="top">
								<telerik:CellPropertiesControl
									id="theCellPropertiesControl"
									runat="server"/>
							</td>
							<td width="90" valign="top">
								<table cellpadding="0" cellspacing="0">
									<tr>
										<td>
											<button class="Button" onclick="javascript:UpdateCell();">
												<script>localization.showText('Update');</script>
											</button>
										</td>
									</tr>
									<tr>
										<td height="4"></td>
									</tr>
									<tr>
										<td>
											<button class="Button" onclick="javascript:CloseDlg();">
												<script>localization.showText('Cancel');</script>
											</button>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<script language="javascript">
	function InitControl()
	{
		var arguments = GetDialogArguments();
		<%=theCellPropertiesControl.ClientID%>.Initialize(arguments.cellToModify, arguments.CssClasses, arguments.EditorObj, arguments.ColorsArray, arguments.CanAddCustomColors);
	}
	
	function UpdateCell()
	{
		<%=theCellPropertiesControl.ClientID%>.Update();
		CloseDlg();
	}
	
	AttachEvent(window, "load", InitControl);
</script>

⌨️ 快捷键说明

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