Class
SaveResourceModel

Model for saving new resources to the WebReportDesigner storage system.

Definition

Namespace:Telerik.WebReportDesigner.Services.Models

Assembly:Telerik.WebReportDesigner.Services.dll

Syntax:

cs-api-definition
public class SaveResourceModel : INamedModelBase

Inheritance: objectSaveResourceModel

Implements: INamedModelBase

Constructors

SaveResourceModel()

Declaration

cs-api-definition
public SaveResourceModel()

Properties

Name

Gets or sets the name of the resource to be saved.

Declaration

cs-api-definition
[Required(AllowEmptyStrings = false)]
public string Name { get; set; }

Property Value

string

Implements INamedModelBase.Name

Remarks

Must be a valid resource name including file extension that doesn't conflict with existing resources in the target folder.

ParentUri

Gets or sets the URI of the parent folder where the resource will be saved.

Declaration

cs-api-definition
public string ParentUri { get; set; }

Property Value

string

Remarks

Use null or empty string to save the resource in the root directory of the storage system.