Join
Sign in
Search Options
Search Everything
Search Development Tools
Home
Blog
Resources
Forums
About Open XML
More ...
Home
»
Forums
»
Development Tools
»
Open XML SDK 2.0
»
How to get rid of "Click here to enter text" for literal content control with xml generated from serializer
How to get rid of "Click here to enter text" for literal content control with xml generated from serializer
Development Tools
Discussions about working with Open XML using a wide range of development tools
Get this RSS feed
Details
0
Replies
1
Subscriber
Posted
over 2 years ago
Options
Subscribe via RSS
Share this
Open XML SDK 2.0
How to get rid of "Click here to enter text" for literal content control with xml generated from serializer
rated by 0 users
This post has
0 Replies |
1
Follower
mac73
80
Posted by
mac73
on
Fri, Aug 20 2010 3:38 PM
rated by 0 users
Post Points: 5
How to get rid of "Click here to enter text" for literal content control with xml generated from serializer
Hello,
This issue occurs when you have your content control mapped to xml that doesnt have closing tag. For eg. if the xml is and is mapped to literal control than on mapping the text displayed on word document(enable editing or printing) with be something like this
Click here to enter text even if you have removed the text when you create the content control. But if i change xml to than it works fine and i dont see any default text.
So the problem is that i have around 50-60 fields in the object that is serialized using xml serializer than by default it serializes to . So for entire document all the empty xml tags have default text displayed in word document.
Is this a known issue or am i missing something on my end? Is there a way is tweak generated xml to explicitly have closing tag?
This is very easy to recreate. I am using xml sdk v 2.0 and word 2010.
Regards
Mac
Page 1 of 1 (1 items)