C# Class Dnn.Modules.Vendors.DisplayBanners

Inheritance: DotNetNuke.Entities.Modules.PortalModuleBase, IActionable
Afficher le fichier Open project: DNNCommunity/DNN.Vendors

Protected Properties

Свойство Type Description
lstBanners global::System.Web.UI.WebControls.DataList

Méthodes publiques

Méthode Description
FormatItem ( int VendorId, int BannerId, int BannerTypeId, string BannerName, string ImageFile, string Description, string URL, int Width, int Height ) : string

Méthodes protégées

Méthode Description
OnLoad ( EventArgs e ) : void

The Page_Load event handler on this User Control is used to obtain a DataReader of banner information from the Banners table, and then databind the results to a templated DataList server control. It uses the DotNetNuke.BannerDB() data component to encapsulate all data functionality.

Method Details

FormatItem() public méthode

public FormatItem ( int VendorId, int BannerId, int BannerTypeId, string BannerName, string ImageFile, string Description, string URL, int Width, int Height ) : string
VendorId int
BannerId int
BannerTypeId int
BannerName string
ImageFile string
Description string
URL string
Width int
Height int
Résultat string

OnLoad() protected méthode

The Page_Load event handler on this User Control is used to obtain a DataReader of banner information from the Banners table, and then databind the results to a templated DataList server control. It uses the DotNetNuke.BannerDB() data component to encapsulate all data functionality.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
Résultat void

Property Details

lstBanners protected_oe property

lstBanners control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DataList lstBanners
Résultat global::System.Web.UI.WebControls.DataList