You must Sign In to post a response.
  • Category: Silverlight

    Export selected rows from silverlight grid to excel

    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.

  • #708412
    ASP.NET GridView control supports for exporting gridview data to Excel,but in Silverlight DataGrid control you couldnt export to excel.. For implementing this,you should retrieve data from the DataGrid and update the data to an Excel XML file
    Please refer the following urls for more information

    Have a good Day

  • #708516
    thanks @Padma. I will try.

  • #708531
    suggested solution will export all rows of the grid to excel. but I need only selected rows (using mouse/keyboard) exported to excel.

  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.