Click here to Skip to main content
15,895,667 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.

Thanks.
Posted

1 solution

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.
 
Share this answer
 
Comments
innovaforyou 20-Mar-13 11:09am    
thanks @ Abhinav S. I will try.
innovaforyou 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)



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