ChartDirector 7.1 (.NET Edition)

RazorViewPortControl.RazorViewPortControl


Usage

[C#]public RazorViewPortControl({System.Web.HttpContextBase | Object} context, string id);
[VB]Public Sub New(context As {System.Web.HttpContextBase | Object}, id As String)

Description

Creates a new RazorViewPortControl object.

Arguments

ArgumentDefaultDescription
context(Mandatory)The HttpContext object representing the current HTTP Context.
id(Mandatory)The id of the RazorViewPortControl, which is also used as the id attribute of the tag for displaying the chart. It should start with A-Z, a-z or underscore, and consists entirely of alphanumeric characters with no spaces.

Return Value

The RazorViewPortControl object created.