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 OriginalGriff 304
1 Sergey Alexandrovich Kryukov 255
2 Shweta N Mishra 216
3 Maciej Los 210
4 PIEBALDconsult 174
0 OriginalGriff 7,660
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,586
3 Manas Bhardwaj 4,946
4 Maciej Los 4,665


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 20 Mar 2013
Copyright © CodeProject, 1999-2014
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