Gets or sets the name of the report definition file that contains the report.

Namespace:  C1.Web.C1WebReport
Assembly:  C1.Web.C1WebReport.2 (in C1.Web.C1WebReport.2.dll)

Syntax

C#
[DefaultValueAttribute("")]
[NotifyParentPropertyAttribute(true)]
[RefreshPropertiesAttribute(RefreshProperties.All)]
public string FileName { get; set; }
Visual Basic (Declaration)
<DefaultValueAttribute("")> _
<NotifyParentPropertyAttribute(True)> _
<RefreshPropertiesAttribute(RefreshProperties.All)> _
Public Property FileName As String
	Get
	Set

Remarks

Report definitions are stored in XML files created with the C1ReportDesigner. This property specifies the file that contains the report to be rendered by the C1WebReport control.

Usually, the FileName property is set to an absolute path on the server. If you set it to a file name without a path, C1WebReport will look for the report definition on the path that contains the page.

See Also