
Conditions:
===========

This control is provided as is for you free usage. Any problems caused or money lost as a result
of using this control are entirely your responsibility.


Setup The Demo App
==================

The VS Solution is provided, however the demo of the control is already built and ready to run so its
not essential to have visual studio. It's better if you create the application manually in IIS before
opening in Visual Studio so it. 


 1. Unzip the file

 2. Create a Virtual Directory in IIS pointing to where you unzipped the DemoApp

      Alias              Path
     ------     -----------------------
     AdSense -> c:\devel\AdSense\DemoApp

 3. Browse to http://localhost/AdSense/Mesothelioma.aspx




Design Time Support
===================

The control renders itself on the design surface of Web Matrix or Visual Studio. To add the component to your 
toolback so you can drag it onto to your own page do the following

 1. Right mouse click on the Toolbox and Add/Remove Items OR
      From the Tools Menu at the top click Add/Remove Toolbox Items

 2. Browse to the AdSense.dll and click ok

 3. "AdBox" should appear on your toolbox, drag it on to a design surface and edit its properties directly



Using the Control
=================
Its essential to put your own publisher id that is provided to your by google. 
To use the Control in your own Appz

 1. Copy the AdSense.dll into your bin directory

 2. Register the control on the page or control to use it 
      <%@ Register TagPrefix="cc1" Namespace="AdSense" Assembly="AdSense" %>

 3. Declare the Adbox with the neccessary paramaters, set your own publisherID provided by Google
      <cc1:adbox id=AdBox6 runat="server" PublisherID="pub-5572338229267071" 
	AdType="TextOnly" Layout="Skycraper_120x600"></cc1:adbox>        
      

Email scottb@projxpert.com with issues or feature requests. 
