2

I want to add Mail Merge fields in Rich Text Editor programmatically.

I have % fields like Name, Address, Gender, City, Phone No, DOB.

Now I want to add this in RichTextEditor using model or Looping, is it Possible on view page in Editor Control code.

Please suggest me some demo code or some Idea, and how to display all defined Fields in Drop down in Tool Bar, there is Winform Demo they have show but in MVC there is such kind of Feature is there?

Regards, Thank you in advance

4

1 回答 1

2

I have find a solution. need to add a forloop and pass a list of token in model and add it rich text editor function by this all merge fields are generated and disply.

于 2015-11-20T12:33:51.883 回答