C# Class Vend.Common.WebControls.ucVendorAddress

Inheritance: System.Web.UI.UserControl
Mostra file Open project: CISC181/VolTeerNET

Public Properties

Property Type Description
iRecordTypeID int

Protected Properties

Property Type Description
TableCell1 global::System.Web.UI.WebControls.TableCell
btnCancel global::Telerik.Web.UI.RadButton
btnEdit global::Telerik.Web.UI.RadButton
lblAddr1 global::System.Web.UI.WebControls.Label
lblAddr2 global::System.Web.UI.WebControls.Label
lblAddr3 global::System.Web.UI.WebControls.Label
lblCityStZip global::System.Web.UI.WebControls.Label
pnlAddressGrid global::System.Web.UI.WebControls.Panel
pnlSingleAddress global::System.Web.UI.WebControls.Panel
rGridAddress global::Telerik.Web.UI.RadGrid
rowAddr2 global::System.Web.UI.WebControls.TableRow
rowAddr3 global::System.Web.UI.WebControls.TableCell
tblButtons global::System.Web.UI.WebControls.Table
tblMainTable global::System.Web.UI.WebControls.Table
tblViewPrimAddr global::System.Web.UI.WebControls.Table

Public Methods

Method Description
DisplayError ( Exception ex ) : void

DisplayError - Pass the exception to the main page.

Protected Methods

Method Description
GetGeoCode ( sp_VendAddress_DM VendAddr ) : string
HandleScreenLoad ( ) : void
Page_Load ( object sender, EventArgs e ) : void
SetPrimaryValues ( ) : void

SetPrimaryValues - Paint the screen with default values (use non-telerik controls)

btnCancel_Click ( object sender, EventArgs e ) : void

btnCancel_Click - Handles 'cancel' button click

btnEdit_Click ( object sender, EventArgs e ) : void

btnEdit_Click - Handles 'edit' button click

rGridAddress_DeleteCommand ( object sender, GridCommandEventArgs e ) : void

rGridAddress_DeleteCommand - Handle the delete command

rGridAddress_InsertCommand ( object sender, GridCommandEventArgs e ) : void

rGridAddress_InsertCommand - Handles insert click

rGridAddress_ItemDataBound ( object sender, GridItemEventArgs e ) : void

rGridAddress_ItemDataBound - handle items that have to be addressed at databound

rGridAddress_NeedDataSource ( object sender, Telerik e ) : void

rGridAddress_NeedDataSource - Called when the grid needs a data source

rGridAddress_PreRender ( object sender, EventArgs e ) : void
rGridAddress_UpdateCommand ( object sender, GridCommandEventArgs e ) : void

rGridAddress_UpdateCommand - Handles Update click

rGridAdress_UpdIns ( object sender, GridCommandEventArgs e, int iAction ) : void

rGridAdress_UpdIns - Handle update/insert in a common procedure

Method Details

DisplayError() public method

DisplayError - Pass the exception to the main page.
public DisplayError ( Exception ex ) : void
ex System.Exception
return void

GetGeoCode() protected method

protected GetGeoCode ( sp_VendAddress_DM VendAddr ) : string
VendAddr VolTeer.DomainModels.VT.Vend.sp_VendAddress_DM
return string

HandleScreenLoad() protected method

protected HandleScreenLoad ( ) : void
return void

Page_Load() protected method

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

SetPrimaryValues() protected method

SetPrimaryValues - Paint the screen with default values (use non-telerik controls)
protected SetPrimaryValues ( ) : void
return void

btnCancel_Click() protected method

btnCancel_Click - Handles 'cancel' button click
protected btnCancel_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnEdit_Click() protected method

btnEdit_Click - Handles 'edit' button click
protected btnEdit_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

rGridAddress_DeleteCommand() protected method

rGridAddress_DeleteCommand - Handle the delete command
protected rGridAddress_DeleteCommand ( object sender, GridCommandEventArgs e ) : void
sender object
e GridCommandEventArgs
return void

rGridAddress_InsertCommand() protected method

rGridAddress_InsertCommand - Handles insert click
protected rGridAddress_InsertCommand ( object sender, GridCommandEventArgs e ) : void
sender object
e GridCommandEventArgs
return void

rGridAddress_ItemDataBound() protected method

rGridAddress_ItemDataBound - handle items that have to be addressed at databound
protected rGridAddress_ItemDataBound ( object sender, GridItemEventArgs e ) : void
sender object
e GridItemEventArgs
return void

rGridAddress_NeedDataSource() protected method

rGridAddress_NeedDataSource - Called when the grid needs a data source
protected rGridAddress_NeedDataSource ( object sender, Telerik e ) : void
sender object
e Telerik
return void

rGridAddress_PreRender() protected method

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

rGridAddress_UpdateCommand() protected method

rGridAddress_UpdateCommand - Handles Update click
protected rGridAddress_UpdateCommand ( object sender, GridCommandEventArgs e ) : void
sender object
e GridCommandEventArgs
return void

rGridAdress_UpdIns() protected method

rGridAdress_UpdIns - Handle update/insert in a common procedure
protected rGridAdress_UpdIns ( object sender, GridCommandEventArgs e, int iAction ) : void
sender object
e GridCommandEventArgs
iAction int
return void

Property Details

TableCell1 protected_oe property

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

btnCancel protected_oe property

btnCancel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Telerik.Web.UI.RadButton btnCancel
return global::Telerik.Web.UI.RadButton

btnEdit protected_oe property

btnEdit control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Telerik.Web.UI.RadButton btnEdit
return global::Telerik.Web.UI.RadButton

iRecordTypeID public_oe property

public int iRecordTypeID
return int

lblAddr1 protected_oe property

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

lblAddr2 protected_oe property

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

lblAddr3 protected_oe property

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

lblCityStZip protected_oe property

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

pnlAddressGrid protected_oe property

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

pnlSingleAddress protected_oe property

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

rGridAddress protected_oe property

rGridAddress control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Telerik.Web.UI.RadGrid rGridAddress
return global::Telerik.Web.UI.RadGrid

rowAddr2 protected_oe property

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

rowAddr3 protected_oe property

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

tblButtons protected_oe property

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

tblMainTable protected_oe property

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

tblViewPrimAddr protected_oe property

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