Advertisement
Guest User

Example of implementation

a guest
Nov 23rd, 2011
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 8.78 KB | None | 0 0
  1. <%@ Page Title="" Language="C#" MasterPageFile="~/Account/themes/site1/Content.Master"   ValidateRequest="false"   AutoEventWireup="true" CodeBehind="edit.aspx.cs" Inherits="WSICMS.Account.modules.cms.edit" %>
  2.  
  3. <%@ Register assembly="SD.LLBLGen.Pro.ORMSupportClasses.NET20" namespace="SD.LLBLGen.Pro.ORMSupportClasses" tagprefix="llblgenpro" %>
  4.  
  5. <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
  6.  
  7. <asp:Content ID="head" ContentPlaceHolderID="head" runat="server">
  8.     <title>WSI Digital Web Cms Editor</title>
  9.  
  10.  <style>
  11.  
  12.  .RadEditor table,
  13.         .reToolbar,
  14.         .reToolbar li,
  15.         .reTlbVertical,
  16.         .reDropDownBody ul,
  17.         .reDropDownBody ul li,
  18.         .RadWindow table,
  19.         .RadWindow table td,
  20.         .RadWindow table td ul,
  21.         .RadWindow table td ul li
  22.         {
  23.             margin: 0 !important;
  24.             padding: 0 !important;
  25.             border: 0 !important;
  26.             list-style: none !important;
  27.         }
  28.         .reWrapper_corner,
  29.         .reWrapper_center,
  30.         .reLeftVerticalSide,
  31.         .reRightVerticalSide,
  32.         .reToolZone,
  33.         .reEditorModes,
  34.         .reResizeCell,
  35.         .reToolZone table td,
  36.         .RadEditor .reToolbar,
  37.         .RadEditor .reEditorModes
  38.         {
  39.             border: 0 !important;
  40.         }
  41.         .reToolbar li,
  42.         .reToolbar ul li,
  43.         .reInsertTable .reTlbVertical .reToolbar li
  44.         {
  45.             float: left !important;
  46.             clear: none !important;
  47.             border: 0 !important;
  48.         }
  49.  </style>
  50.  
  51.  </asp:Content>
  52. <asp:Content ID="Content1" ContentPlaceHolderID="content" runat="server">          
  53.  
  54.    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
  55.         <Scripts>
  56.             <%--Needed for JavaScript IntelliSense in VS2010--%>
  57.             <%--For VS2008 replace RadScriptManager with ScriptManager--%>
  58.             <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
  59.             <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
  60.             <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
  61.         </Scripts>
  62.     </telerik:RadScriptManager>
  63.    
  64.     <div class="block-border" id="tab-panel-1">
  65.                     <div class="block-header">
  66.                     <h1 >Pages</h1>
  67.                         <ul class="tabs">
  68.                             <li class="active"><a href="#tab-1">Editor</a></li>
  69.                              
  70.                         </ul>
  71.                     </div>
  72.                     <div class="block-content tab-container" style="height:600px">
  73.                         <div id="tab-1" class="tab-content" style="float:left; width:100%;vertical-align:top;"  >
  74.  
  75.                         <table width="292" border="0" cellpadding="5px">
  76.         <tr>
  77.                 <td class="style6">Name</td>
  78.                 <td width="59"><asp:TextBox ID="txttitle" runat="server" width="500px" ></asp:TextBox></td>
  79.                 <td width="152">&nbsp;</td>
  80.         </tr>
  81.         <tr>
  82.                 <td class="style6">Keywords</td>
  83.                 <td><asp:TextBox ID="txtkeywords" runat="server"  width="500px"></asp:TextBox></td>
  84.                 <td>&nbsp;</td>
  85.         </tr>
  86.  
  87.         <tr>
  88.                 <td class="style6">Seo Url</td>
  89.                 <td><asp:TextBox ID="txtseourl" runat="server"  width="500px"></asp:TextBox></td>
  90.                 <td>&nbsp;</td>
  91.         </tr>
  92.         <tr>
  93.                 <td class="style6">Content:</td>
  94.                 <td>
  95.          <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
  96.         <AjaxSettings>
  97.             <telerik:AjaxSetting AjaxControlID="Panel1">
  98.                 <UpdatedControls>
  99.                     <telerik:AjaxUpdatedControl ControlID="Panel1" />
  100.                 </UpdatedControls>
  101.             </telerik:AjaxSetting>
  102.         </AjaxSettings>
  103.     </telerik:RadAjaxManager>
  104.     <div>
  105.         <asp:Panel ID="Panel1" runat="server">
  106.             <telerik:RadEditor Height="300px" ID="RadEditor1" EnableResize="false"
  107.               ToolbarMode="ShowOnFocus" runat="server">
  108.                 <Modules>
  109.                     <telerik:EditorModule Visible="true" />
  110.                 </Modules>
  111.                 <Tools>
  112.                 <telerik:EditorToolGroup>
  113.                         <telerik:EditorTool Name="AjaxSpellCheck" />
  114.                         <telerik:EditorTool Name="FindAndReplace" ShortCut="CTRL+F" />
  115.                         <telerik:EditorTool Name="Cut" />
  116.                         <telerik:EditorTool Name="Copy" ShortCut="CTRL+C" />
  117.                         <telerik:EditorTool Name="Paste" ShortCut="CTRL+V" />
  118.                         <telerik:EditorTool Name="PasteStrip" />
  119.                         <telerik:EditorSeparator />
  120.                         <telerik:EditorTool Name="Undo" ShortCut="CTRL+Z" />
  121.                         <telerik:EditorTool Name="Redo" ShortCut="CTRL+Y" />
  122.                     </telerik:EditorToolGroup>
  123.                     <telerik:EditorToolGroup>
  124.                         <telerik:EditorTool Name="ImageManager" ShortCut="CTRL+G" />
  125.                         <telerik:EditorTool Name="AbsolutePosition" />
  126.                         <telerik:EditorSeparator />
  127.                         <telerik:EditorTool Name="FlashManager" />
  128.                         <telerik:EditorTool Name="MediaManager" />
  129.                         <telerik:EditorTool Name="DocumentManager" />
  130.                         <telerik:EditorTool Name="TemplateManager" />
  131.                         <telerik:EditorSeparator />
  132.                         <telerik:EditorTool Name="LinkManager" ShortCut="CTRL+K" />
  133.                         <telerik:EditorTool Name="Unlink" ShortCut="CTRL+SHIFT+K" />
  134.                     </telerik:EditorToolGroup>
  135.                     <telerik:EditorToolGroup>
  136.                         <telerik:EditorTool Name="Superscript" />
  137.                         <telerik:EditorTool Name="Subscript" />
  138.                         <telerik:EditorTool Name="InsertParagraph" />
  139.                         <telerik:EditorTool Name="InsertGroupbox" />
  140.                         <telerik:EditorTool Name="InsertHorizontalRule" />
  141.                         <telerik:EditorTool Name="InsertDate" />
  142.                         <telerik:EditorTool Name="InsertTime" />
  143.                     </telerik:EditorToolGroup>
  144.                     <telerik:EditorToolGroup>
  145.                         <telerik:EditorTool Name="FormatBlock" />
  146.                         <telerik:EditorTool Name="FontName" ShortCut="CTRL+SHIFT+F" />
  147.                         <telerik:EditorTool Name="RealFontSize" ShortCut="CTRL+SHIFT+P" />
  148.                     </telerik:EditorToolGroup>
  149.                     <telerik:EditorToolGroup>
  150.                         <telerik:EditorTool Name="SelectAll" ShortCut="CTRL+A" />
  151.                         <telerik:EditorSeparator />
  152.                         <telerik:EditorTool Name="Bold" ShortCut="CTRL+B" />
  153.                         <telerik:EditorTool Name="Italic" ShortCut="CTRL+I" />
  154.                         <telerik:EditorTool Name="Underline" ShortCut="CTRL+U" />
  155.                         <telerik:EditorTool Name="StrikeThrough" />
  156.                         <telerik:EditorSeparator />
  157.                         <telerik:EditorTool Name="JustifyLeft" />
  158.                         <telerik:EditorTool Name="JustifyCenter" />
  159.                         <telerik:EditorTool Name="JustifyRight" />
  160.                         <telerik:EditorTool Name="JustifyFull" />
  161.                         <telerik:EditorTool Name="JustifyNone" />
  162.                         <telerik:EditorSeparator />
  163.                         <telerik:EditorTool Name="Indent" />
  164.                         <telerik:EditorTool Name="Outdent" />
  165.                         <telerik:EditorSeparator />
  166.                         <telerik:EditorTool Name="InsertOrderedList" />
  167.                         <telerik:EditorTool Name="InsertUnorderedList" />
  168.                         <telerik:EditorTool Name="ToggleTableBorder" />
  169.                     </telerik:EditorToolGroup>
  170.                     <telerik:EditorToolGroup>
  171.                         <telerik:EditorTool Name="ForeColor" />
  172.                         <telerik:EditorTool Name="BackColor" />
  173.                         <telerik:EditorTool Name="ApplyClass" />
  174.                         <telerik:EditorTool Name="FormatStripper" />
  175.                     </telerik:EditorToolGroup>
  176.                     <telerik:EditorToolGroup>
  177.                         <telerik:EditorTool Name="InsertSymbol" />
  178.                         <telerik:EditorTool Name="InsertTable" />
  179.                         <telerik:EditorTool Name="InsertFormElement" />
  180.                         <telerik:EditorTool Name="InsertSnippet" />
  181.                         <telerik:EditorTool Name="ImageMapDialog" />
  182.                         <telerik:EditorTool Name="InsertCustomLink" ShortCut="CTRL+ALT+K" />
  183.                         <telerik:EditorSeparator />
  184.                         <telerik:EditorTool Name="ConvertToLower" />
  185.                         <telerik:EditorTool Name="ConvertToUpper" />
  186.                         <telerik:EditorSeparator />
  187.                         <telerik:EditorTool Name="AboutDialog" />
  188.                         <telerik:EditorTool Name="Zoom" />
  189.                         <telerik:EditorTool Name="ModuleManager" />
  190.                         <telerik:EditorTool Name="ToggleScreenMode" ShortCut="F11" />
  191.                     </telerik:EditorToolGroup>
  192.                 </Tools>
  193.             </telerik:RadEditor>
  194.         </asp:Panel>
  195. </td>
  196.                 <td>&nbsp;</td>
  197.         </tr>
  198.         <tr>
  199.                 <td class="style6">Star Date</td>
  200.                 <td>
  201.                      
  202.                        
  203.                     <telerik:RadDatePicker ID="RadDatePicker1" Runat="server">
  204.                     </telerik:RadDatePicker>
  205. </td>
  206.                 <td>&nbsp;</td>
  207.         </tr>
  208.         <tr>
  209.                 <td class="style6">End Date</td>
  210.                 <td>
  211.                      
  212.                        
  213.                     <telerik:RadDatePicker ID="RadDatePicker2" Runat="server">
  214.                     </telerik:RadDatePicker>
  215. </td>
  216.                 <td>&nbsp;</td>
  217.         </tr>
  218.         <tr>
  219.                 <td class="style6">Active</td>
  220.                 <td>
  221.                      
  222.                        
  223.                     <asp:CheckBox ID="CheckBox1" runat="server" />
  224. </td>
  225.                 <td>&nbsp;</td>
  226.         </tr>
  227. </table>
  228.  
  229.  
  230. </div>
  231. </div>
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.                         <div id="tab-2" class="tab-content" style="display: none; ">
  244.                          
  245.                         </div>
  246.                  
  247.                      
  248.                     <div class="block-content dark-bg"   >
  249.                      
  250.                     </div>
  251.              
  252.                  
  253.             <div class="clear height-fix"></div>
  254.  
  255.  
  256.            
  257.  
  258.      </div>
  259.    
  260. </asp:Content>
  261.  
  262.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement