45 строки
2.3 KiB
Plaintext
45 строки
2.3 KiB
Plaintext
<%@ Page Language="C#" Title="RichTextEditor-Import and Export-ASP.NET-SYNCFUSION" AutoEventWireup="true" MasterPageFile="~/Samplebrowser.Master" CodeBehind="ImportExport.aspx.cs" MetaDescription="This sample demonstrates how to import content for RichTextEditor control or export the RichTextEditor content to a word or pdf document." Inherits="WebSampleBrowser.RichTextEditor.ImportExport" %>
|
||
|
||
<asp:Content ID="Content2" ContentPlaceHolderID="SampleHeading" runat="server">
|
||
Import and Export
|
||
</asp:Content>
|
||
<asp:Content ID="Content3" ContentPlaceHolderID="ControlsSection" runat="server">
|
||
<ej:RTE ID="ImportExportSample" Width="100%" Height="100%" runat="server" MinWidth="200px" >
|
||
<RTEContent>
|
||
<p><b>Description:</b></p>
|
||
<p>The Rich Text Editor (RTE) control is an easy to render in
|
||
client side. Customer easy to edit the contents and get the HTML content for
|
||
the displayed content. A rich text editor control provides users with a toolbar
|
||
that helps them to apply rich text formats to the text entered in the text
|
||
area. </p>
|
||
<p><b>Functional
|
||
Specifications/Requirements:</b></p>
|
||
<ol><li><p>Provide
|
||
the tool bar support, it’s also customizable.</p></li><li><p>Options
|
||
to get the HTML elements with styles.</p></li><li><p>Support
|
||
to insert image from a defined path.</p></li><li><p>Footer
|
||
elements and styles(tag / Element information , Action button (Upload, Cancel))</p></li><li><p>Re-size
|
||
the editor support.</p></li><li><p>Provide
|
||
efficient public methods and client side events.</p></li><li><p>Keyboard
|
||
navigation support.</p></li></ol>
|
||
</RTEContent>
|
||
<ImportSettings Url="Import.ashx" />
|
||
<ExportToWordSettings Url="ImportExport.aspx/ExportToWord" FileName="WordExport" />
|
||
<ExportToPdfSettings Url="ImportExport.aspx/ExportToPDF" FileName="PdfExport" />
|
||
<Tools
|
||
ImportExport="import,wordExport,pdfExport">
|
||
</Tools>
|
||
</ej:RTE>
|
||
</asp:Content>
|
||
|
||
<asp:Content runat="server" ContentPlaceHolderID="StyleSection" ID="content1">
|
||
<style>
|
||
#LayoutSection_ControlsSection_DefaultRTE_wrapper {
|
||
min-width: 200px !important;
|
||
}
|
||
</style>
|
||
</asp:Content>
|
||
|
||
|
||
|