Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NET Silverlight
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.
 
Thanks.
Posted 19-Mar-13 17:58pm

1 solution

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

Solution 1

Some of these links will surely help you -
http://weblogs.asp.net/stanleygu/archive/2009/12/16/export-silverlight-datagrid-to-excel-xml.aspx[^]
Export Silverlight DataGrid to Excel XML/CSV[^]
 
If you use the Infragistics grid, you will get inbuilt export to excel features.
  Permalink  
Comments
Shivaatcp at 20-Mar-13 11:09am
   
thanks @ Abhinav S. I will try.
Shivaatcp at 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
0 Peter Leow 443
1 OriginalGriff 403
2 Kornfeld Eliyahu Peter 260
3 Sergey Alexandrovich Kryukov 242
4 Maciej Los 230


Advertise | Privacy | Mobile
Web04 | 2.8.150301.1 | Last Updated 20 Mar 2013
Copyright © CodeProject, 1999-2015
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