Version

Session Deployment

Before running an application that has a WebGauge™ control, the deployment scenario must be set up and configured.

To enable Session State image deployment:

  1. Select the WebGauge control on your Web form.

  2. Expand the DeploymentScenario property.

  3. Locate the Mode property and from its drop-down list, select the Session enumeration member.

  4. At this time, you will be prompted to automatically create a Web form that contains the ImagePipe component, which will allow for secure image transmission through the session.

Shows the Autogenerate ImagePipe page dialog
  1. Click Yes to automatically generate the Web form and ImagePipe component.

  2. At this point, a Web form named GaugeImage has been created and added to your project.

Shows solution explorer showing the new GaugeImage web form.

This new WebForm will contain a reference to the GaugeImagePipe server-side component. The Gauge component on the main Web form will point to this server-side component.

The GaugeImagePipe Web form (GaugeImage.aspx) can be any Web form with a GaugeImagePipe control on it. The following code is an example of the complete text of GaugeImage.aspx, in its minimal form. Before using this Web form, the assembly name and version numbers in the Register directive must be updated to the current assembly version.

In XML:

<%@ Page %>
<%@ Register TagPrefix="igGauge"
  Assembly="Infragistics2.WebUI.UltraWebGauge.v7.1,
  version=7.1.20071.1, Culture=neutral,
  PublicKeyToken=7dd5c3163f2cd0cb"
  Namespace="Infragistics.WebUI.UltraWebGauge" %>
<igGauge:GaugeImagePipe id="GaugeImagePipe1" runat="server" />