C# Class Dnn.Modules.Vendors.EditBanner

The EditBanner PortalModuleBase is used to add/edit a Banner
Inheritance: DotNetNuke.Entities.Modules.PortalModuleBase
Show file Open project: DNNCommunity/DNN.Vendors

Protected Properties

Property Type Description
DNNTxtBannerGroup global::DotNetNuke.UI.WebControls.DNNTextSuggest
EndDatePicker global::DotNetNuke.Web.UI.WebControls.DnnDatePicker
StartDatePicker global::DotNetNuke.Web.UI.WebControls.DnnDatePicker
bannersRow global::System.Web.UI.HtmlControls.HtmlGenericControl
cboBannerType global::System.Web.UI.WebControls.DropDownList
cmdCancel global::System.Web.UI.WebControls.LinkButton
cmdCopy global::System.Web.UI.WebControls.LinkButton
cmdDelete global::System.Web.UI.WebControls.LinkButton
cmdEmail global::System.Web.UI.WebControls.LinkButton
cmdUpdate global::System.Web.UI.WebControls.LinkButton
compareCPM global::System.Web.UI.WebControls.CompareValidator
compareImpressions global::System.Web.UI.WebControls.CompareValidator
ctlAudit global::DotNetNuke.UI.UserControls.ModuleAuditControl
ctlImage global::DotNetNuke.Web.UI.WebControls.DnnUrlControl
ctlURL global::DotNetNuke.Web.UI.WebControls.DnnUrlControl
lblBannerGroup Label
lstBanners global::System.Web.UI.WebControls.DataList
optCriteria global::System.Web.UI.WebControls.RadioButtonList
plBannerGroup global::System.Web.UI.UserControl
plBannerName global::System.Web.UI.UserControl
plBannerType global::System.Web.UI.UserControl
plCPM global::System.Web.UI.UserControl
plCriteria global::System.Web.UI.UserControl
plDescription global::System.Web.UI.UserControl
plEndDate global::System.Web.UI.UserControl
plHeight global::System.Web.UI.UserControl
plImage global::System.Web.UI.UserControl
plImpressions global::System.Web.UI.UserControl
plStartDate global::System.Web.UI.UserControl
plURL global::System.Web.UI.UserControl
plWidth global::System.Web.UI.UserControl
txtBannerName global::System.Web.UI.WebControls.TextBox
txtCPM global::System.Web.UI.WebControls.TextBox
txtDescription global::System.Web.UI.WebControls.TextBox
txtHeight global::System.Web.UI.WebControls.TextBox
txtImpressions global::System.Web.UI.WebControls.TextBox
txtWidth global::System.Web.UI.WebControls.TextBox
valBannerName global::System.Web.UI.WebControls.RequiredFieldValidator
valCPM global::System.Web.UI.WebControls.RequiredFieldValidator
valImpressions global::System.Web.UI.WebControls.RequiredFieldValidator

Public Methods

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

Protected Methods

Method Description
OnCancelClick ( object sender, EventArgs e ) : void

cmdCancel_Click runs when the Cancel Button is clicked

OnCopyClick ( object sender, EventArgs e ) : void
OnDeleteClick ( object sender, EventArgs e ) : void

cmdDelete_Click runs when the Delete Button is clicked

OnEmailClick ( object sender, EventArgs e ) : void
OnLoad ( EventArgs e ) : void

Page_Load runs when the control is loaded

OnUpdateClick ( object sender, EventArgs e ) : void

cmdUpdate_Click runs when the Update Button is clicked

Method Details

FormatItem() public method

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
return string

OnCancelClick() protected method

cmdCancel_Click runs when the Cancel Button is clicked
protected OnCancelClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnCopyClick() protected method

protected OnCopyClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnDeleteClick() protected method

cmdDelete_Click runs when the Delete Button is clicked
protected OnDeleteClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnEmailClick() protected method

protected OnEmailClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnLoad() protected method

Page_Load runs when the control is loaded
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void

OnUpdateClick() protected method

cmdUpdate_Click runs when the Update Button is clicked
protected OnUpdateClick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

DNNTxtBannerGroup protected property

DNNTxtBannerGroup control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.WebControls.DNNTextSuggest DNNTxtBannerGroup
return global::DotNetNuke.UI.WebControls.DNNTextSuggest

EndDatePicker protected property

EndDatePicker control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.Web.UI.WebControls.DnnDatePicker EndDatePicker
return global::DotNetNuke.Web.UI.WebControls.DnnDatePicker

StartDatePicker protected property

StartDatePicker control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.Web.UI.WebControls.DnnDatePicker StartDatePicker
return global::DotNetNuke.Web.UI.WebControls.DnnDatePicker

bannersRow protected property

bannersRow control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl bannersRow
return global::System.Web.UI.HtmlControls.HtmlGenericControl

cboBannerType protected property

cboBannerType control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.DropDownList cboBannerType
return global::System.Web.UI.WebControls.DropDownList

cmdCancel protected property

cmdCancel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.LinkButton cmdCancel
return global::System.Web.UI.WebControls.LinkButton

cmdCopy protected property

cmdCopy control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.LinkButton cmdCopy
return global::System.Web.UI.WebControls.LinkButton

cmdDelete protected property

cmdDelete control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.LinkButton cmdDelete
return global::System.Web.UI.WebControls.LinkButton

cmdEmail protected property

cmdEmail control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.LinkButton cmdEmail
return global::System.Web.UI.WebControls.LinkButton

cmdUpdate protected property

cmdUpdate control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.LinkButton cmdUpdate
return global::System.Web.UI.WebControls.LinkButton

compareCPM protected property

compareCPM control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CompareValidator compareCPM
return global::System.Web.UI.WebControls.CompareValidator

compareImpressions protected property

compareImpressions control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.CompareValidator compareImpressions
return global::System.Web.UI.WebControls.CompareValidator

ctlAudit protected property

ctlAudit control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.UI.UserControls.ModuleAuditControl ctlAudit
return global::DotNetNuke.UI.UserControls.ModuleAuditControl

ctlImage protected property

ctlImage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.Web.UI.WebControls.DnnUrlControl ctlImage
return global::DotNetNuke.Web.UI.WebControls.DnnUrlControl

ctlURL protected property

ctlURL control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::DotNetNuke.Web.UI.WebControls.DnnUrlControl ctlURL
return global::DotNetNuke.Web.UI.WebControls.DnnUrlControl

lblBannerGroup protected property

protected Label lblBannerGroup
return Label

lstBanners protected 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
return global::System.Web.UI.WebControls.DataList

optCriteria protected property

optCriteria control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RadioButtonList optCriteria
return global::System.Web.UI.WebControls.RadioButtonList

plBannerGroup protected property

plBannerGroup control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UserControl plBannerGroup
return global::System.Web.UI.UserControl

plBannerName protected property

plBannerName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UserControl plBannerName
return global::System.Web.UI.UserControl

plBannerType protected property

plBannerType control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UserControl plBannerType
return global::System.Web.UI.UserControl

plCPM protected property

plCPM control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UserControl plCPM
return global::System.Web.UI.UserControl

plCriteria protected property

plCriteria control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UserControl plCriteria
return global::System.Web.UI.UserControl

plDescription protected property

plDescription control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UserControl plDescription
return global::System.Web.UI.UserControl

plEndDate protected property

plEndDate control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UserControl plEndDate
return global::System.Web.UI.UserControl

plHeight protected property

plHeight control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UserControl plHeight
return global::System.Web.UI.UserControl

plImage protected property

plImage control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UserControl plImage
return global::System.Web.UI.UserControl

plImpressions protected property

plImpressions control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UserControl plImpressions
return global::System.Web.UI.UserControl

plStartDate protected property

plStartDate control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UserControl plStartDate
return global::System.Web.UI.UserControl

plURL protected property

plURL control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UserControl plURL
return global::System.Web.UI.UserControl

plWidth protected property

plWidth control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.UserControl plWidth
return global::System.Web.UI.UserControl

txtBannerName protected property

txtBannerName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtBannerName
return global::System.Web.UI.WebControls.TextBox

txtCPM protected property

txtCPM control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtCPM
return global::System.Web.UI.WebControls.TextBox

txtDescription protected property

txtDescription control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtDescription
return global::System.Web.UI.WebControls.TextBox

txtHeight protected property

txtHeight control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtHeight
return global::System.Web.UI.WebControls.TextBox

txtImpressions protected property

txtImpressions control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtImpressions
return global::System.Web.UI.WebControls.TextBox

txtWidth protected property

txtWidth control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.TextBox txtWidth
return global::System.Web.UI.WebControls.TextBox

valBannerName protected property

valBannerName control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator valBannerName
return global::System.Web.UI.WebControls.RequiredFieldValidator

valCPM protected property

valCPM control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator valCPM
return global::System.Web.UI.WebControls.RequiredFieldValidator

valImpressions protected property

valImpressions control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.RequiredFieldValidator valImpressions
return global::System.Web.UI.WebControls.RequiredFieldValidator