Syntax

The syntax of the logic depends on which .NET client language is used in developing the web page. However, all are similar and the method and attribute names of the CE Web Form Renderer are the same. A simple example in C# is shown below. This example connects to the host and displays the first ispec. This allows interacting with the ispec and transmit data to or from the host and in fact conducting an entire session.

C# example

This assumes the CE Web Form Renderer Control has been dragged and dropped from the toolbar, named “sampleSys” and that the connection properties have been set in the properties pane.

// Connect using the AutoConnect capability of the CE Web Form Renderer
// control to connect it to the host system.
sampleSys.AutoConnect();
      // Check for errors.
      if (sampleSys.WebSession.ResponseCode != ResponseCodes.OK)
      return;
// Display the fireup Ispec.
sampleSys.DisplayIspec();