In MergeFields the general switch may be used to format the Result Text. The text may appear in lowercase, uppercase, title case and so on.
Hello Margret,
I do not believe that this feature will solve your requirement. What I believe can be used in this case is a custom merge field. This is similar to the example in the forum. A complete example is available in our SDK repository: xaml-sdk/RichTextBox/CreateCustomMergeField at master ยท telerik/xaml-sdk. This will allow you to override the GetDisplayNameFragment method and return the desired result. You can use custom properties as well. The issue with this approach is that the custom fields can be saved to the XAML format only. They will be lost with other formats.
Let me know how this works for your case.
Regards,
Dimitar
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
I'd also like to request an implementation of the feature, to be able to differentiate between the Displayed Name of the MergeField and the property Path, for localization reasons.
I've also tried it to implement it with the suggested workaround:
https://www.telerik.com/forums/changing-case-of-mail-merge-fields
aswell as this approach:
https://www.telerik.com/forums/custom-merge-field-how-to-pass-a-new-displayname-property-into-the-codefragment-(instead-of-property-path)
unfortunately without any luck.