Method | Description | |
---|---|---|
DataBind ( ) : void |
DataBind binds the data to the controls
|
|
OnSubscriptionUpdated ( SubscriptionUpdatedEventArgs e ) : void |
Raises the SubscriptionUpdated Event
|
Method | Description | |
---|---|---|
FormatExpiryDate ( System.DateTime expiryDate ) : string |
FormatExpiryDate formats the expiry date and filters out null-values
|
|
FormatPrice ( float price, int period, string frequency ) : string |
FormatPrice formats the Fee amount and filters out null-values
|
|
FormatTrial ( float price, int period, string frequency ) : string |
FormatTrial formats the Trial Fee amount and filters out null-values
|
|
FormatURL ( ) : string |
FormatURL correctly formats a URL
|
|
OnLoad ( |
Page_Load runs when the control is loaded
|
|
ServiceText ( bool subscribed, System.DateTime expiryDate ) : string |
ServiceText gets the Service Text (Cancel or Subscribe)
|
|
ShowSubscribe ( int roleID ) : bool | ||
ShowTrial ( int roleID ) : bool | ||
grdServices_ItemCommand ( object source, DataGridCommandEventArgs e ) : void |
Method | Description | |
---|---|---|
FormatPrice ( float price ) : string |
FormatPrice formats the Fee amount and filters out null-values
|
|
Subscribe ( int roleID, bool cancel ) : void | ||
UseTrial ( int roleID ) : void | ||
cmdRSVP_Click ( object sender, |
cmdRSVP_Click runs when the Subscribe to RSVP Code Roles Button is clicked
|
protected FormatExpiryDate ( System.DateTime expiryDate ) : string | ||
expiryDate | System.DateTime | The date to format |
return | string |
protected FormatPrice ( float price, int period, string frequency ) : string | ||
price | float | The price to format |
period | int | |
frequency | string | |
return | string |
protected FormatTrial ( float price, int period, string frequency ) : string | ||
price | float | The price to format |
period | int | |
frequency | string | |
return | string |
public OnSubscriptionUpdated ( SubscriptionUpdatedEventArgs e ) : void | ||
e | SubscriptionUpdatedEventArgs | |
return | void |
protected ServiceText ( bool subscribed, System.DateTime expiryDate ) : string | ||
subscribed | bool | |
expiryDate | System.DateTime | |
return | string |
protected ShowSubscribe ( int roleID ) : bool | ||
roleID | int | |
return | bool |
protected grdServices_ItemCommand ( object source, DataGridCommandEventArgs e ) : void | ||
source | object | |
e | DataGridCommandEventArgs | |
return | void |