Enabling dynamic rendering
To enable dynamic rendering for a form, the form must derive from DexUIForm. You must add the WCCompliantWindow attribute to the class that defines the form. This attribute indicates that the form should be automatically rendered by the web client. If this attribute isn't found on the form, the form will not be displayed in the web client.
Enabling a form in C#
The following example shows how dynamic rendering is enabled for the EstimateFreight form of the C# version of the Estimate Freight sample integration. The WCCompliantWindow attribute takes one boolean parameter that indicates whether dynamic rendering is supported for the form.
namespace EstimateFreight { [WCCompliantWindow(true)] public partial class EstimateFreight : DexUIForm {
Enabling a form in Visual Basic
The following example shows how dynamic rendering is enabled for the EstimateFreight form of the Visual Basic version of the Estimate Freight sample integration. The WCCompliantWindow attribute takes one boolean parameter that indicates whether dynamic rendering is supported for the form.
<WCCompliantWindow(True)> Public Class EstimateFreightForm Inherits DexUIForm