Introduction to ASP.NET Server Control for Authentic Browser

www.altova.com Print this Topic Up One Level Next page

Home > 

Introduction to ASP.NET Server Control for Authentic Browser

To ease deployment of Altova® Authentic® Browser Edition we provide an ASP.NET Server Control that completely integrates with Visual Studio .NET and allows ASP.NET developers to drag-and-drop Authentic Browser onto their web forms.

 

To use the ASP.NET Server Control:

 

1.Download the ASP.NET Server Control for Authentic Browser Plug-in from the Altova website (http://www.altova.com/download/authentic/components.html).
2.Start Visual Studio and register the assembly (the downloaded package) in Visual Studio .NET by adding it to the Toolbox. You could do this by selecting the Tools | Choose Toolbox Items command, and, in the Toolbox Items dialog, selecting the .NET Framework Components, and then browsing for the assembly (Altova:Authentic.WebControls.dll).
3.The AuthenticDocumentView control appears in the General pane of the Toolbox. Drag this control into the Design View and resize or modify as required. (The control will invoke Authentic Browser on the client-side web page.)
4.Add the plugin-related files (Schema, SPS, XML, image files, etc) to your project. One way to do this is to add a new folder to your Visual Studio project via Solution Explorer and add the plugin-related files to the new project folder. For each of these plugin-related files, set the following properties: Build Action = Content and Copy to Output Directory = Yes, when newer.
5.Set the following properties for the AuthenticDocumentView control: (i) Select the Trusted/Untrusted version; (ii) Add the SPS-related resources (SchemaDataURL, SPSDataURL, XMLDataURL); (iii) in the case of the Enterprise edition, add the license information.
6.For IIS version 7.0 or newer, add a static content handler for the SPS file. Do this by adding the following lines to your web.config file:

 

         <system.webServer>

                 <staticContent>

                         <mimeMap fileExtension=".sps" mimeType="text/xml" />

                 </staticContent>

         </system.webServer>

 

7.It is highly recommended that you also download and install XMLSpy Enterprise Edition on your development workstation. This application contains a sample XML document OrgChart.xml that you can use to experiment with the ASP.NET Server Control.

 

Note:To avoid having exceptions occur when XML data is sent to the server, add the following line under the system.web tag, in the web.config file for the web application using the ASP.NET Server Control.
 
<system.web>
<pages validateRequest="false"/>

 

 

Version 6.1 or later of the ASP.NET Server Control has the following properties:

 

UntrustedVersion
CodeBase_UntrustedUnicode
UseControlInitialized
AddLicenseProperties

© 2019 Altova GmbH