Click here to Skip to main content
13,045,285 members (67,476 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hello Friends,

I am new and this is my first post.
Can someone please help me with code for exporting selected rows from silverlight gridview to excel.
Note: checkboxes solution doesn't work bcos if grid has too many rows...and in case if user has to select certain rows then selecting the checkbox for each would be painful.
So please suggest solution without checkboxes. User will select rows of the silverlight gridview using mouse/keyboard.

Posted 19-Mar-13 16:58pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Some of these links will surely help you -[^]
Export Silverlight DataGrid to Excel XML/CSV[^]

If you use the Infragistics grid, you will get inbuilt export to excel features.
Shivaatcp 20-Mar-13 11:09am
thanks @ Abhinav S. I will try.
Shivaatcp 20-Mar-13 20:49pm
suggested solution will export all rows of the grid to excel. but I need only selected rows (using mouse/keyboard) exported to excel.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 20 Mar 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100