Class ReportDesignerHelper
Helper to handle the Designer Actions
Inheritance
Inherited Members
Namespace: Syncfusion.EJ.ReportDesigner
Assembly: Syncfusion.EJ.ReportDesigner.dll
Syntax
public static class ReportDesignerHelper
Properties
EJReportDesignerToken
Gets or sets the Token used for ReportDesigner
Declaration
public static string EJReportDesignerToken { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ReportingServer
Gets or sets the External ReportServer
Declaration
public static ReportingServer ReportingServer { get; set; }
Property Value
Type | Description |
---|---|
ReportingServer |
SaveFileName
Gets or sets the File name to save the Report
Declaration
public static string SaveFileName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetEncodedCode()
Get the Encrypted keyCode from Header
Declaration
public static string GetEncodedCode()
Returns
Type | Description |
---|---|
System.String | Returns the Encrypted keyCode String |
GetImage(String, String, IReportDesignerController)
Download the image from File
Declaration
public static object GetImage(string key, string image, IReportDesignerController controller)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | key used to download the image |
System.String | image | file path of the image to download |
IReportDesignerController | controller | Controller instance |
Returns
Type | Description |
---|---|
System.Object | Returns the downloaded response of image |
IsReportCompatible(ReportDefinition)
Validates the Report is Compatible with ReportDesigner
Declaration
public static bool IsReportCompatible(ReportDefinition reportDOM)
Parameters
Type | Name | Description |
---|---|---|
ReportDefinition | reportDOM | Deserialized Dom Structure of the Report |
Returns
Type | Description |
---|---|
System.Boolean | Returns the Report Compatible State |
IsReportCompatible(String, String)
Validates the Report is Compatible with ReportDesigner
Declaration
public static bool IsReportCompatible(string serverUrl, string reportPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | serverUrl | Server URL to Check the Report |
System.String | reportPath | Path of the Report in Server to Validate |
Returns
Type | Description |
---|---|
System.Boolean | Returns the Report Compatible State |
ProcessDesigner(Dictionary<String, Object>, IReportDesignerController, HttpPostedFile)
Evaluate the Designer Actions
Declaration
public static object ProcessDesigner(Dictionary<string, object> jsonArray, IReportDesignerController designer, HttpPostedFile httpPostedFile)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> | jsonArray | The Data from the client-server call |
IReportDesignerController | designer | Controller instance |
System.Web.HttpPostedFile | httpPostedFile | Information about the file to be upload |
Returns
Type | Description |
---|---|
System.Object | Returns the object |