Need to navigate to Excel spread sheet and display in the browser. how could I do that ?
I think you dont want to convert the Excel in DataTable if right why dont you use google docs to display your document here are some links
http://docs.google.com/viewer
http://code.google.com/apis/documents/overview.html
http://code.google.com/apis/spreadsheets/
Thanks
the 2 verbs 'navigate to' and 'display in' are not going to work here. even if the user wanted to and agreed to any dialog that was popped by the os, I assure you that the browser is not the registered applicaion for excel.
To get a browser to display an .xls inline you have to render it to the response and set the content-disposition header to inline.
someone else just posted a link to an article that can get you started, just change the content-disposition to 'inline'.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With