how to view the excel document in aspx page using iframe.how to use this one i have used .
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" ContentType="application/vnd.ms-excel" %>
i have used above code but the excel file is directly downloaded not opened how to do it.


Prasanna MuraliRank #330 · 7.5K reputationPosted Nov 24, 2016, 8:09 PM EST
Mohamed AbedallahRank #2,074 · 697 reputationPosted Mar 2, 2017, 7:27 AM EST
Check the online demo using this link:
http://demo.leadtools.com/JavaScript/DocumentViewer/index.html
Disclaimer: I work for the company that created this library.
Gnanavel SekarRank #333 · 7.5K reputationPosted Mar 2, 2017, 9:57 PM EST