C# Класс Dnn.Modules.Vendors.DisplayBanners

Наследование: DotNetNuke.Entities.Modules.PortalModuleBase, IActionable
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
lstBanners global::System.Web.UI.WebControls.DataList

Открытые методы

Метод Описание
FormatItem ( int VendorId, int BannerId, int BannerTypeId, string BannerName, string ImageFile, string Description, string URL, int Width, int Height ) : string

Защищенные методы

Метод Описание
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.

Описание методов

FormatItem() публичный Метод

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
Результат string

OnLoad() защищенный Метод

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
Результат void

Описание свойств

lstBanners защищенное свойство

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
Результат global::System.Web.UI.WebControls.DataList