WordsProcessing - Mail Merge

Mail template


Select file format

Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

This example illustrates Mail Merge functionality for RadWordsProcessing. You can export the document to any of the formats listed in the dropdown menu.

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
  • styles.css
<%@ Page Title="" Language="C#"  AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs" Inherits="WordsProcessing_MailMerge_DefaultCS" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link href="styles.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div id="mailMergeContainer" class="demo-container size-wide">

        <asp:Image ImageUrl="images/mail_template.jpg" ID="MailTemplateImage" AlternateText="Mail template" runat="server" />

        <br />
        <br />
        <br />
        <asp:Label ID="Label1" Text="Select file format" runat="server" />
        <br />
        <telerik:RadComboBox RenderMode="Lightweight" id="ExtensionsRadComboBox" runat="server" CssClass="extentionSelector">
            <Items>
                <telerik:RadComboBoxItem Value=".docx" Text="DOCX" />
                <telerik:RadComboBoxItem Value=".rtf" Text="RTF" />
                <telerik:RadComboBoxItem Value=".html" Text="HTML" />
            </Items>
        </telerik:radcombobox>

        <br />

        <telerik:RadButton RenderMode="Lightweight" text="Mail merge" runat="server" id="Button1" onclick="Button1_Click" cssclass="mailMergeButton"></telerik:radbutton>

    </div>


    </form>
</body>
</html>

Support & Learning Resources

Find Assistance

Help Us Improve

Was this example helpful?