THEMES
THEME SETTINGS

HTML Editor - Features Placeholders (Mail Merge)

Preview Results


 
Nancy: (206) 555-9857
Andrew: (206) 555-9482
Janet: (206) 555-3412
Margaret: (206) 555-8122
Steven: (71) 555-4848
Michael: (71) 555-7773
Robert: (71) 555-5598
Laura: (206) 555-1189
Anne: (71) 555-4444
  • Undo (Ctrl+Z)
  • Redo (Ctrl+Y)
  • Bold (Ctrl+B)
  • Italic (Ctrl+I)
  • Underline
  • Strikethrough
  • Align Left (Ctrl+L)
  • Align Center (Ctrl+E)
  • Align Right (Ctrl+R)
  • Back Color
    v
  • Fore Color
    v
  • Insert Table
    v
  • Insert Placeholder

The DevExpress ASP.NET MVC HTML Editor (HtmlEditor) allows end-users to add placeholders to editor content. The placeholders can then be replaced with the required values.

The collection of placeholders available for end-users is accessed by the Placeholders property. End-users can type a placeholder in the text or use the Insert Placeholder dialog, which can be invoked using the Insert Placeholder toolbar button (ToolbarInsertPlaceholderDialogButton). The Insert Placeholder dialog allows you to insert and change placeholders.

To replace placeholders with the required values, use the client-side ReplacePlaceholders or server-side ReplacePlaceholders method.

In this demo, placeholder values are gotten from a database. You can modify a document template and preview the results for different persons (database records).

Version: v2017 vol 1.3
Copyright © 2006-2017 Developer Express Inc
Your Next Great MVC App Starts Here

Get started today and download your 30-day trial of DevExpress MVC Extensions (includes 30 days of free technical support).

All demos ship with full source code and are included in the DevExpress MVC distribution. Refer to the Demos and Sample Applications topic to learn more.

DevExpress MVC Extensions ship as part of DevExpress Universal, DXperience and ASP.NET Subscriptions and are backed by a 60 day unconditional money-back guarantee.
To learn more and obtain pricing information, visit the Compare Features and Pricing webpage. For immediate assistance, contact us by Email at info@devexpress.com or by phone at +1 (818) 844-3383 between 7:30am and 4:30pm Pacific Time.