New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[CLSCompliant(false)]
public class SpreadsheetDocumentProvider : SpreadsheetProviderBase

Inheritance: objectProviderBaseSpreadsheetProviderBaseSpreadsheetDocumentProvider

Inherited Members ProviderBase.NameProviderBase.Descriptionobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public SpreadsheetDocumentProvider()
C#
public SpreadsheetDocumentProvider(string path)
Parameters:pathstring
C#
protected SpreadsheetDocumentProvider(Workbook workbook)
Parameters:workbookWorkbook

Properties

Gets or sets value that determines how many attempts will to open the file will be done, in case of IOException.

C#
public int RetryAttempts { get; set; }

Gets or sets the delay between each open file attempt.

C#
public int RetryDelay { get; set; }

Value in Miliseconds.

Methods

C#
public override List<Worksheet> GetSheets()
Returns:

List<Worksheet>

Overrides: SpreadsheetProviderBase.GetSheets()

Initializes the provider.

C#
public override void Initialize(string name, NameValueCollection config)
Parameters:namestring

The friendly name of the provider.

configNameValueCollection

A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider.

Exceptions: ArgumentNullException

The name of the provider is null.

InvalidOperationException

An attempt is made to call Initialize(string, NameValueCollection) on a provider after the provider has already been initialized.

ArgumentException

The name of the provider has a length of zero.

Overrides: ProviderBase.Initialize(string, NameValueCollection)

C#
protected void LoadWorkbook()
C#
public override void SaveWorkbook(Workbook workbook)
Parameters:workbookWorkbook

Overrides: SpreadsheetProviderBase.SaveWorkbook(Workbook)