Glossary Item Box

Advertisement: Baner

General: Overview

See Also CmsDeveloperGuide Send comments on this topic.

BanerDataSource

BanerDataSource represents banners to data-bound controls.

 

For BanerDataSource working you have to define its BanerGroup property.

 

Also you can bind the BanerDataSource with the AspLib Rotator control to the banners. AspLib Rotator allows you to show all banners from banner group at once, one by one with some delay and beautiful playing effects.

 

Example of using BanerDataSource with AspLib Rotator:

<%@ Register Assembly="AspLib.Rotator" Namespace="AspLib.WebControls" TagPrefix="alrotator" %>
<%@ Register TagPrefix="cmsadv" Namespace="CMSLib.Advertisement" Assembly="CMSLib" %>

<cmsadv:BanerDataSource runat="server" ID="BanerDataSource1" BanerGroup="FirstPageAstoria" />
<alrotator:Rotator ID="Rotator1" DataSourceID="BanerDataSource1" DataTextField="BanerHtml" BorderColor="white"
    Height="120px" Width="100%" runat="server" ShowEffect="Dissolve" HideEffect="Dissolve" RotationType=
"SlideShow"
  
 ShowEffectDuration="750" SmoothScrollSpeed="medium" SlidePause="3000" />

Advertisement: Baner

General: Overview

 

 


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