How can users print a long and formatted text together with the complete web page?

  •  11-09-2010, 5:21 AM

    How can users print a long and formatted text together with the complete web page?

    Our users have very long texts in the editor and want to print them together with the rest of the web form. How can this be done? I just managed to display the editor adjusted to text lenght, but the text is cut off during print (I do not even know after how many lines or characters).
     
    If they use the right click, they are able to print the complete editor text only - the rest of the form contents is missing.
     
    I used  PrintFullWebPage="true" for one of the editors (there are two and in between some additional information). It only prints the editor contents, not the rest of the form.
     
    Is there any other attribute to be set for the editor(s)?
     
    Form content pane:

    <CE:Editor id="DocTitle" runat="server" AutoConfigure="None" Height="150px" Width="100%" ActiveTab="View" ReadOnly="True" ShowBottomBar="True" ShowCodeViewToolBar="False" ShowDecreaseButton="False" ShowEditMode="False" ShowEnlargeButton="True" ShowGroupMenuImage="False" ShowHtmlMode="False" ShowTagSelector="False" ShowToolBar="False" ShowWordCount="False" ResizeMode="AutoAdjust" /><br />

    <table class="inputGeneral">

    <tr>

    <td class="inputLabelColumn">

    <asp:Label ID="BuTextLabel" runat="server" CssClass="HighlightedText" Text="BU: "></asp:Label></td>

    <td class="inputFieldColumn">

    <asp:Label ID="BuText" runat="server"></asp:Label>

    </td>

    <td class="inputLabelColumn">

    <asp:Label ID="CategoryLabel" runat="server" CssClass="HighlightedText" Text="Kategorie: "></asp:Label></td>

    <td class="inputFieldColumn">

    <asp:Label ID="Category1" runat="server"></asp:Label>

    <br />

    <asp:Label ID="Category2" runat="server"></asp:Label>&nbsp;

    </td>

    </tr>

    <tr>

    <td class="inputLabelColumn">

    <asp:Label ID="StatusLabel" runat="server" CssClass="HighlightedText" Text="Status: "></asp:Label></td>

    <td class="inputFieldColumn">

    <asp:Label ID="Status" runat="server"></asp:Label></td>

    <td class="inputLabelColumn">

    <asp:Label ID="CreatedLabel" runat="server" Text="Anlagedatum: " CssClass="HighlightedText"></asp:Label></td>

    <td class="inputFieldColumn">

    <asp:Label ID="Created" runat="server"></asp:Label></td>

    </tr>

    <tr>

    <td class="inputLabelColumn" style="height: 13px">

    <asp:Label ID="DueDateLabel" runat="server" Text="Frist: " CssClass="HighlightedText"></asp:Label></td>

    <td class="inputFieldColumn" style="height: 13px">

    <asp:Label ID="DueDate" runat="server"></asp:Label></td>

    <td class="inputLabelColumn" style="height: 13px">

    <asp:Label ID="RemindDateLabel" runat="server" Text="Wiedervorlage:" CssClass="HighlightedText"></asp:Label>

    </td>

    <td class="inputFieldColumn" style="height: 13px">

    <asp:Label ID="RemindDate" runat="server"></asp:Label></td>

    </tr>

    <tr>

    <td class="inputLabelColumn">

    <asp:Label ID="EmployeeLabel" runat="server" CssClass="HighlightedText" Text="Sachbearbeiter: "></asp:Label></td>

    <td class="inputFieldColumn">

    <asp:Label ID="Employee" runat="server"></asp:Label></td>

    <td class="inputLabelColumn">

    <asp:Label ID="DocNumberLabel" runat="server" CssClass="HighlightedText" Text="Aktenzeichen: "></asp:Label>

    </td>

    <td class="inputFieldColumn">

    <asp:Label ID="DocNumber" runat="server"></asp:Label></td>

    </tr>

    <tr>

    <td class="inputLabelColumn">

    <asp:Label ID="DocTypeLabel" runat="server" Text="Aktentyp: " CssClass="HighlightedText"></asp:Label></td>

    <td class="inputFieldColumn">

    <asp:Label ID="DocType" runat="server"></asp:Label></td>

    <td class="inputLabelColumn">

    <asp:Label ID="ArchiveNoLabel" runat="server" CssClass="HighlightedText" Text="Ablagenummer:"></asp:Label><br />

    <asp:Label ID="ArchiveDateLabel" runat="server" CssClass="HighlightedText" Text="Ablagedatum:"></asp:Label></td>

    <td class="inputFieldColumn">

    <asp:Label ID="ArchiveNo" runat="server"></asp:Label><br />

    <asp:Label ID="ArchiveDate" runat="server"></asp:Label></td>

    </tr>

    <tr>

    <td class="inputLabelColumn">

    <asp:Label ID="ArchiveFlagLabel" runat="server" CssClass="HighlightedText" Text="Archiviert: "></asp:Label></td>

    <td class="inputFieldColumn">

    <asp:CheckBox ID="ArchiveFlag" runat="server" /></td>

    <td class="inputLabelColumn">

    </td>

    <td class="inputFieldColumn">

    </td>

    </tr>

    </table>

    <asp:Label ID="BodyLabel" runat="server" CssClass="HighlightedText" Text="Texte / Dateien:"></asp:Label><br />

    <CE:Editor id="Body" runat="server" AutoConfigure="None" Height="150px" Width="100%" ActiveTab="View" ReadOnly="True" ShowBottomBar="True" ShowCodeViewToolBar="False" ShowDecreaseButton="True" ShowEditMode="False" ShowEnlargeButton="True" ShowGroupMenuImage="False" ShowHtmlMode="False" ShowTagSelector="False" ShowToolBar="False" ShowWordCount="False" ResizeMode="AutoAdjust" PrintFullWebPage="true" />

    <asp:Button ID="Close" runat="server" Text="Schließen" CausesValidation="False" CssClass="button" />

View Complete Thread