ContentControl in MS-word 2007 Addin is not accepting Special Characters like <,>

May 27 2011 8:57 AM


Hi all,

Currently I am working on MS Word 2007 Addin.I am getting Problem with one custom control.

The ContentControl is having multiline property to true.it is accepting values from the database. if any database value is having special characters like <,> the content control will stop showing the data.

Suppose the data in the database is "Male, Female, Children(<5), Children(>10)", The content control is accepting only upto "Male, Female, Children(".

For other data like strings, numeric data it is working fine.

Please Help me in solving this issue.


Thanks,

K.S.R. Prasad.

Answers (1)