📄 mediapreviewer.ascx
字号:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="MediaPreviewer.ascx.cs" Inherits="Telerik.WebControls.EditorControls.MediaPreviewer" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%@ Register TagPrefix="telerik" NameSpace="Telerik.WebControls.Dialogs" Assembly="RadEditor" %>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<table align="left" border="0" cellpadding="0" cellspacing="0" height="23">
<tr>
<td class="label">
<input type="checkbox" onclick="javascript:SwitchPreviewMode();">
<script>localization.showText("SwitchToPreviewMode");</script>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<div class="PreviewAreaHolder" id="previewerDiv">
<div id="PropertiesPane" style="display:none;">
<table cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" align="left" valign="top">
<span id="loader" style="display:none"></span>
</td>
</tr>
<tr>
<td class="label">
<script>localization.showText('Width');</script>
</td>
<td>
<input type="text" defaultvalue="150" id="mediaWidth" class="RadETextBox" />
</td>
</tr>
<tr>
<td class="label">
<script>localization.showText('Height');</script>
</td>
<td>
<input defaultvalue="150" type="text" id="mediaHeight" class="RadETextBox" />
</td>
</tr>
<tr>
<td class="Label">
<script>localization.showText('Align');</script>
</td>
<td>
<select defaultvalue="baseline" class="DropDown" id="mediaAlign">
<option value="baseline">
<script>localization.showText('Baseline');</script>
</option>
<option value="bottom">
<script>localization.showText('Bottom');</script>
</option>
<option value="left">
<script>localization.showText('Left');</script>
</option>
<option value="middle">
<script>localization.showText('Middle');</script>
</option>
<option value="right">
<script>localization.showText('Right');</script>
</option>
<option value="texttop">
<script>localization.showText('TextTop');</script>
</option>
<option value="top">
<script>localization.showText('Top');</script>
</option>
</select>
</td>
</tr>
<tr>
<td class="Label">
<script>localization.showText('Properties');</script>
</td>
<td>
<select id="property" defaultvalue="" class="DropDown" onchange="changeProperty(this.value)">
<option value="">
<script>localization.showText('SelectProperty');</script>
</option>
</select>
</td>
</tr>
<tr>
<td class="Label">
<script>localization.showText('Value');</script>
</td>
<td class="Label">
<span id="propertyValue">
<script>localization.showText('NA');</script>
</span>
<object id="dlgHelper" CLASSID="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b" width="0px" height="0px" VIEWASTEXT></object>
</td>
</tr>
</table>
</div>
<div id="PreviewPane">
<table border="0" cellpadding="0" cellspacing="0" align="center" height="100%">
<tr>
<td valign="middle" id="PreviewObjectHolder"></td>
</tr>
</table>
</div>
<div id="EmptyPane">
<table border="0" cellpadding="0" cellspacing="0" align="center" height="100%">
<tr>
<td valign="middle"></td>
</tr>
</table>
</div>
</div>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -