C# Class MettleSystems.dashCommerce.Web.admin._default

Mostrar archivo Open project: dashcommerce/dashcommerce-3

Protected Methods

Method Description
FormatEditUrl ( string orderId ) : string

Formats the edit URL.

GetFormattedAmount ( string total ) : string

Gets the formatted amount.

Page_Load ( object sender, EventArgs e ) : void

Handles the Load event of the Page control.

Page_PreRender ( object sender, EventArgs e ) : void

Handles the PreRender event of the Page control.

btnAdd_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnAdd control.

dgOrders_ItemDataBound ( object sender, DataGridItemEventArgs e ) : void

Handles the ItemDataBound event of the dgOrders control.

dgToDo_ItemDataBound ( object sender, DataGridItemEventArgs e ) : void

Handles the ItemDataBound event of the dgToDo control.

lbDelete_Click ( object sender, CommandEventArgs e ) : void

Handles the Click event of the lbDelete control.

Private Methods

Method Description
BindOrderCollection ( OrderCollection orderCollection ) : void

Binds the order collection.

LoadOrders ( ) : void

Loads the orders.

LoadSearchTerms ( ) : void

Loads the search terms.

LoadToDo ( ) : void

Loads to do.

SetDefaulProperties ( ) : void

Sets the defaul properties.

Method Details

FormatEditUrl() protected method

Formats the edit URL.
protected FormatEditUrl ( string orderId ) : string
orderId string The order id.
return string

GetFormattedAmount() protected method

Gets the formatted amount.
protected GetFormattedAmount ( string total ) : string
total string The total.
return string

Page_Load() protected method

Handles the Load event of the Page control.
protected Page_Load ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void

Page_PreRender() protected method

Handles the PreRender event of the Page control.
protected Page_PreRender ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void

btnAdd_Click() protected method

Handles the Click event of the btnAdd control.
protected btnAdd_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void

dgOrders_ItemDataBound() protected method

Handles the ItemDataBound event of the dgOrders control.
protected dgOrders_ItemDataBound ( object sender, DataGridItemEventArgs e ) : void
sender object The source of the event.
e DataGridItemEventArgs The instance containing the event data.
return void

dgToDo_ItemDataBound() protected method

Handles the ItemDataBound event of the dgToDo control.
protected dgToDo_ItemDataBound ( object sender, DataGridItemEventArgs e ) : void
sender object The source of the event.
e DataGridItemEventArgs The instance containing the event data.
return void

lbDelete_Click() protected method

Handles the Click event of the lbDelete control.
protected lbDelete_Click ( object sender, CommandEventArgs e ) : void
sender object The source of the event.
e CommandEventArgs The instance containing the event data.
return void