Click here to Skip to main content
15,888,802 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can i show/hide pages in word document from my client user.

There should be word templates user will download this file which should contain hidden informations (ex JobId, UserId etc ) in one page.
when he/she uploads the same file then the developer should find which jobid is assigned to this document and upload the file corresponding to the "jobid"

in c# the file will be read it's hidden parameters (ids)

can i put these hidden info in the template or any work-around.
Posted
Updated 7-Dec-14 21:25pm
v2
Comments
Azziet 8-Dec-14 2:34am    
where are you using word document, plz ask clear question

1 solution

See Word's object model reference for Page[^]...There is no such option hide/show. The only way is to remove the content of that specific page...
You are not clear in your question how client access the document, but you may create a second document or PDF file for the client without the parts you want to hide...
 
Share this answer
 
Comments
Kailash Polai 8-Dec-14 3:32am    
Thank you for quick suggestions.
I have cleared my question little more.

Thanks in advance
Kornfeld Eliyahu Peter 8-Dec-14 3:42am    
Word has a build-in option to restrict edition of certain areas of a document. Create the template using that tool and all will be good...
http://www.addictivetips.com/microsoft-office/restrict-editing-to-secure-word-2010-document/
http://office.microsoft.com/en-001/training/restrict-certain-parts-of-a-document-RZ001117927.aspx?section=13
Kailash Polai 8-Dec-14 4:30am    
Your reference links are helpful to me. these are the links what i need to know.

Thank you very much....
Kornfeld Eliyahu Peter 8-Dec-14 4:31am    
You are welcome...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900