ASP.NET MVC 6.3.16
Demos Support Blog Download
Show / Hide Table of Contents
PDF

Interface IReportDesignerController

The interface IReportDesignerController has the declaration of action methods that are defined in Web API Controller for report processing.

Inherited Members
IReportController.PostReportAction(Dictionary<String, Object>)
IReportController.OnInitReportOptions(ReportViewerOptions)
IReportController.OnReportLoaded(ReportViewerOptions)
IReportController.GetResource(String, String, Boolean)
Namespace: BoldReports.Web.ReportDesigner
Assembly: BoldReports.Web.dll
Syntax
public interface IReportDesignerController : IReportController

Methods

GetData(String, String)

Gets the resource from storage location.

Declaration
ResourceInfo GetData(string key, string itemId)
Parameters
Type Name Description
System.String key

The unique key for request identification.

System.String itemId

The unique key to get the required resource.

Returns
Type Description
ResourceInfo

Returns the resource data and error message, ResourceInfo.

GetImage(String, String)

Action (HttpGet) method for getting resource of images in the report.

Declaration
object GetImage(string key, string image)
Parameters
Type Name Description
System.String key

The unique key for request identification.

System.String image

The name of requested image.

Returns
Type Description
System.Object

Returns the image as HttpResponseMessage content.

PostDesignerAction(Dictionary<String, Object>)

Action (HttpPost) method for posting the request for designer actions.

Declaration
object PostDesignerAction(Dictionary<string, object> jsonResult)
Parameters
Type Name Description
System.Collections.Generic.Dictionary<System.String, System.Object> jsonResult

A collection of keys and values to process the designer request.

Returns
Type Description
System.Object

Json result for the current request.

SetData(String, String, ItemInfo, out String)

Sets the resource into storage location.

Declaration
bool SetData(string key, string itemId, ItemInfo itemData, out string errMsg)
Parameters
Type Name Description
System.String key

The unique key for request identification.

System.String itemId

The unique key to get the required resource.

ItemInfo itemData

Contains the resource data, ItemInfo

System.String errMsg

Returns the error message, if the write action is failed.

Returns
Type Description
System.Boolean

Returns true, if resource is successfully written into storage location.

UploadReportAction()

Action (HttpPost) method for posted or uploaded file actions.

Declaration
void UploadReportAction()
In This Article
Was this page helpful? Yes No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
×
SEND FEEDBACK REGARDING THIS TOPIC

Please provide additional information

Please provide additional information

Please provide additional information

Please provide additional information
Please provide additional information
Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved