Back to Devexpress

BootstrapSpreadsheet Class

aspnetbootstrap-devexpress-dot-web-dot-bootstrap-ad5bf0c4.md

latest2.9 KB
Original Source

BootstrapSpreadsheet Class

A control that provides spreadsheet management functionality.

Namespace : DevExpress.Web.Bootstrap

Assembly : DevExpress.Web.Bootstrap.v25.2.dll

NuGet Package : DevExpress.Web.Bootstrap

Declaration

csharp
[DXClientDocumentationProviderWeb("BootstrapSpreadsheet")]
[ToolboxTabName("DX.25.2: Bootstrap Controls")]
public class BootstrapSpreadsheet :
    ASPxSpreadsheet,
    ISimpleRenderControl
vb
<ToolboxTabName("DX.25.2: Bootstrap Controls")>
<DXClientDocumentationProviderWeb("BootstrapSpreadsheet")>
Public Class BootstrapSpreadsheet
    Inherits ASPxSpreadsheet
    Implements ISimpleRenderControl

Remarks

The BootstrapSpreadsheet class specifies an Excel-inspired control that allows you to manage spreadsheet files with a rich UI and comprehensive API.

You can open an existing spreadsheet file with the Open method or create a new file by calling the New method. A workbook with one empty worksheet is also created while creating a new BootstrapSpreadsheet instance.

The Document property provides the access to a document currently loaded into the control.

aspx
<dx:BootstrapSpreadsheet runat="server" ID="Spreadsheet" Height="500px">
</dx:BootstrapSpreadsheet>
cs
protected void Page_Load(object sender, EventArgs e) {
   if(!IsPostBack)
       Spreadsheet.Open(Server.MapPath("~/App_Data/Documents/MonthlyBudget.xlsx"));
}

Inheritance

Object Control WebControl ASPxWebControlBase ASPxWebControl ASPxSpreadsheet BootstrapSpreadsheet

See Also

BootstrapSpreadsheet Members

Spreadsheet

DevExpress.Web.Bootstrap Namespace