APNSoft - Web Controls, components for ASP.NET Home Help Center Contact Us
About UsProductsDownloadsPurchase
Support

Include
Version 1.5



What's New
Overview
Features
Reference Book
Licensing
Support



Set Text Property
Include Page from URL




Installation

To install APNSoft Include on your machine download and run the distributive APNSoftInclude.msi. The .MSI installers are intended for easy and automatic installation of a product. The .MSI installs the control on your computer to a folder named APNSoft in your Program Files and automatically creates the necessary virtual folder. After installation procedure you can open the page with Reference Book, Code Samples, Online Examples, etc. by this shortcut:

Start Menu -> Programs -> APNSoft Include ->


Visual Studio .NET Integration

The installer creates Visual Studio .NET toolbox item for APNSoft Include. This item is visible under the APNSoft tab when you open a new or existing ASP.NET Web application and when you create or edit an ASPX page.


Manually adding the Include to your Visual Studio .NET

To add the APNSoft Include control to your Visual Studio project please follow these steps:

  1. Open the toolbox.
  2. Right click it and open Choose Items ... (Add/Remove Items).
  3. Click Browse in the dialog;
  4. Find the APNSoftInclude.dll assembly, select Open and then Ok. After installation, the file APNSoftInclude.dll is in the C:\Program Files\APNSoft\APNSoft Include [version] for ASP.NET [version]\bin\ folder by default.

    APNSoftInclude component will appear in toolbox and you can add it to a page:

Adding Include to your web application using Visual Studio

Drag the APNSoftInclude component icon from the toolbox and drop it in your web form / web user-control. Visual Studio will automatically copy the APNSoftInclude.dll to the bin folder of your web application and will create the respective Reference.

All of the properties are listed in the properties panel in Visual Studio and can be grouped:

See the list of component properties and methods.


Manually embedding the Control into the page
  1. Copy the APNSoftInclude.dll assembly into the bin directory of your web application.


  2. Add the following line of code (without line breaks) to the top of your page:


  3. <%@ Register TagPrefix="inc" Namespace="APNSoft.WebControls" Assembly="APNSoftInclude" %>

  4. Add the following line of code anywhere within your page to embed the Include:


  5. <inc:APNSoftInclude
    	id="APNSoftInclude1"
    	Text="Test"
    	runat="server"
    />
    

    Now you can open the page in your browser to see output.







  © 2003-2008 APNSoft. All rights reserved. Table of Contents   Terms of use   Contact Us   Help Center