Glossary Item Box

Advertisement: BanerDataSource

General: Overview

See Also CmsDeveloperGuide Send comments on this topic.

Baner

With the help of CMS system you can organize showing banners on a site. For that you should do the following:

  1. Create necessary banners through the CMS administrative interface. The banners that should be shown at the same place should have the same BanerGroup name. The banner itself is HTML, in which it is inserted pictures, FLASH, etc. if necessary.
  2. Place BanerPanel on the site in a place where you want banners to be shown.
  3. Set the BanerPanel property BanerGroup into the name of group of banners that would be shown there.

 

With the help of determination of banner showing date started or its showing date closed you can get showing only the banners required for you at the moment.

 

Example of placing BanerPanel:

<%@ Register TagPrefix="cmsadv" Namespace="CMSLib.Advertisement" Assembly="CMSLib" %>

<cmsadv:BanerPanel runat="server" BanerGroup="FirstGroup" Height="100px" Width="100px" />

 

Besides you can use BanerDataSource to show banners, bind it with any control that supports data binding. Also you can use AspLib Rotator with it.

Advertisement: BanerDataSource

General: Overview

 

 


© 2005-2007 Astron Digital Ltd. All Rights Reserved.