It is really easy to implement MergeField functionality. However sometimes I don't want the user to see the property-names of my MailMerge-Class but use different names, especially since properties don't allow spaces. Is it possible to use something like the "Display" annotation to have "speaking field names" instead of class properties? E. g. something like this:
and RichTextBox takes the "Display" annotation to display the MergeField?
public class MailMessageInfo{ [Display(Name="sender, first name")] public string SenderFirstName { get; set; } [Display(Name = "sender, last name")] public string SenderLastName { get; set; }}and RichTextBox takes the "Display" annotation to display the MergeField?
