Visit Gigasoft's Web Site
 ProEssentials v9 Help

Gigasoft.ProEssentialsWeb.Pedo.RenderingType

Scope

Pedo

Type

enum PedoRenderingType
{
   ActiveX = 0,
   BinaryActiveXStream = 1,
   BinaryDataStream = 2,
}

Default

BinaryDataStream

.NET

Pedo.RenderingType

Ocx|Vcl

NA

DLL

NA

 

Purpose

Controls how the Pedo Webform object is rendered (how data is formatted and sent to the client.) Either as binary data representing data to append to chart, binary data representing a Pedo ActiveX state, or ascii HTML representing a Pedo ActiveX object TAG.

 

Setting to BinaryDataStream sends binary data to any ProEssentials Wpf, WinForm, ActiveX, or DLL implementation issuing a matching AppendFromURL function call. This is the primary use of the Pedo asp.net control. Rarely will RenderingType be set to something other than BinaryDataStream.

 

Setting to ActiveX is used to output HTML representing a Pedo ActiveX to be instantiated on the client, creating a destination object to receive data.

 

Setting to BinaryActiveXStream is used to stream binary data to a client-side Pedo ActiveX. This assumes you are using a Pedo Webform as a simple means of passing generic data to a client-side Pedo ActiveX. For example, a WebForm1 contains a Pedo Webform cotnrol with its RenderingType set to ActiveX and ImageURL property set to WebForm2. Then WebForm2 contains a Pedo Webform control with its RenderingType set to BinaryActiveXStream.

 

.NET Gigasoft.Enums.

 

PedoRenderingType.

Description

ActiveX

Output HTML representing a Pedo ActiveX to be instantiated on the client, creating a destination object to receive data.

BinaryActiveXStream

Stream binary data to a client-side Pedo ActiveX.

BinaryDataStream

Stream binary data to any ProEssentials WinForm, ActiveX, or DLL implementation issuing a matching AppendFromURL function call.

 

Comments

Pedo.RenderingType members of Pedo

 

If using a Pedo to simplify a generic data transfer, having a WebForm1 with a Pedo WebForm control with RenderingType set to ActiveX can be optionally replaced with a simple HTML page (or text embedded within an ASPX page) with the following object tag. This is the object tag that is automatically generated with RenderingType is set to ActiveX.

<OBJECT

CLASSID="clsid:426A5096-1269-46F1-9C07-CBA2D27CD208"

ID=Pedo1

DATA="WebForm2.aspx"

CODEBASE="pedo.cab"

>

</OBJECT>

 

Note: DATA attribute is similar to ImageUrl property.

Note: CODEBASE attribute is similar to CodebaseUrl property.

 

See Also: ImageUrl, CodebaseUrl