We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Bind to XlsIO workbook?

Thread ID:





106798 Jan 25,2013 05:29 PM UTC Jan 29,2013 04:54 PM UTC Silverlight 1
Tags: SpreadsheetControl
Heiko Torner
Asked On January 25, 2013 05:29 PM UTC

I would like to create a new workbook by code using XlsIO. I do this using the MVVM pattern which means my ViewModel (which creates the new workbook) usually has no knowledge of the SpreadsheetControl on the UI. Is it possible to bind the workbook which is displayed by SpreadsheetControl to some kind of "workbook" property of my ViewModel?


Pannir Selvam S [Syncfusion]
Replied On January 29, 2013 04:54 PM UTC

Hi  Heiko,


Thanks for using Syncfusion product.


It is not possible to bind a workbook into the SpreadsheetControl. However you can import a workbook into Spreadsheet by using ImportFromExcel method as shown below.


Code Snippet[C#]:

ExcelEngine engine = new ExcelEngine();

IWorkbook workbook = engine.Excel.Workbooks.Add();



Please let us know if any other queries.





This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon