Use this constructor to connect a JaxcentPage to an ASP.NET page. This constructor writes out the necessary JavaScript include statement to the page, with the Jaxcent connection-id as agrument. This must be called no later than "pre-render" on the page. Page_Load is too late to call this constructor.

A good place to invoke this constructor is in the constructor of the ASP.NET page.

Also, ASP.NET requires that a form with "runat=server" be present for this, so if you have removed the initial markup, you must put in at least an empty <form runat="server"></form> in there.

Namespace: Jaxcent.Web
Assembly: Jaxcent (in Jaxcent.dll) Version: 2.3.1.0 (2.3.1.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public JaxcentPage(
	Page aspDotNetPage
)
Public Sub New ( _
	aspDotNetPage As Page _
)
public:
JaxcentPage(
	Page^ aspDotNetPage
)

Parameters

aspDotNetPage
Page
The ASP.NET page being connected to>

Remarks

Instead of calling this constructor, you can call the constructor without the aspDotNetPage parameter, and set up the Jaxcent connection by adding

CopyC#
<script type="text/javascript" src="/JaxcentDotNet23.js?jaxcentid=<%= jaxcentPage.JaxcentConnectionID %%gt;"%gt;</script>

in the HTML in the HEAD section.

See Also