C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Articles » ASP.NET/Web Applications »

Export GV To MS Word 2007 using JavaScript


Posted Date: 23 Oct 2009    Resource Type: Articles    Category: ASP.NET/Web Applications
Author: LaljiMember Level: Diamond    
Rating: 1 out of 5Points: 2



Call the exportToWord client-side methods to export the data from the Grid
to MS Word files.


arguments:

* fileName - the name of the file (without extension) where the data will be exported
* keepFormatting - if set to true some of the properties of the columns will
also be exported (Width, Align, HeaderAling, Wrap)
* usePaging - export all the records or just the current page
* addTimeStamp - append a timestamp to the name of the file (for generating unique file names)
* Office2007 - if set to true, the exported files will be compatible with MS Office 2007
* useHiddenColumns - if set to true, the invisible columns will be exported too
* columnsForExport - a string containing the columns that will be exported

JavaScript

grid1.exportToWord("OboutGrid", true, false, true, false, true, "ShipName,ShipCity,ShipCountry");



Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Export GV To MS Word 2007  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Print Controls Using C#.Net
Previous Resource: Events in Global.asax
Return to Discussion Resource Index
Post New Resource
Category: ASP.NET/Web Applications


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use