C# Class CAESDO.Recruitment.Web.Shared_ApplicationReview

Inheritance: System.Web.UI.UserControl
Show file Open project: ucdavis/Recruitments

Protected Methods

Method Description
BreakCamelCase ( string CamelString ) : string

helper method to convert CamelCaseString to Camel Case String by inserting spaces

GetRefernceFileStatusString ( int referenceID ) : bool

Returns true if a file exists, else false

Page_Init ( object sender, EventArgs e ) : void

Page_Init checks to ensure that the query string is valid, the logged in user is an admin or equivalent, the given application is valid

Page_Load ( object sender, EventArgs e ) : void
btnDownloadAllPlusReferences_Click ( object sender, EventArgs e ) : void
btnDownloadAll_Click ( object sender, EventArgs e ) : void
gviewReferences_SelectedIndexChanged ( object sender, EventArgs e ) : void

Called from the Refences Grid whenever a row is selected (Edited). Populates the reference's information into the info table and then shows the popup

lbtnFileDownload_Click ( object sender, EventArgs e ) : void
lbtnPublicationFile_Click ( object sender, EventArgs e ) : void
lbtnReferenceFile_Click ( object sender, EventArgs e ) : void

Private Methods

Method Description
CheckQueryString ( ) : void

Check to ensure that they querystring "ApplicationID" is not null or empty

DataBindContactInformation ( ) : void

Bind the profile (contact info) fields to the appropriate text boxes

DataBindCurrentPositionInformation ( ) : void

Bind the current position for the primary CP result (there should only be one allowed by the program)

DataBindEducationInformation ( ) : void

Bind the education fields for the primary education result (there should only be one allowed by the program)

DataBindFiles ( ) : void

Generates a list of all files associated with this application

DataBindPublications ( ) : void

Bind the existing publications to the grid

DataBindReferences ( ) : void

Have to bind the current application's existing references to the grid

DownloadFile ( int FileID ) : bool

Downloads the file given by FileID

GetFilesOfType ( string fileTypeName ) : List

Parses down the currentApplication files list to just contain files of the correct type

Method Details

BreakCamelCase() protected method

helper method to convert CamelCaseString to Camel Case String by inserting spaces
protected BreakCamelCase ( string CamelString ) : string
CamelString string
return string

GetRefernceFileStatusString() protected method

Returns true if a file exists, else false
protected GetRefernceFileStatusString ( int referenceID ) : bool
referenceID int
return bool

Page_Init() protected method

Page_Init checks to ensure that the query string is valid, the logged in user is an admin or equivalent, the given application is valid
protected Page_Init ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Page_Load() protected method

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

btnDownloadAllPlusReferences_Click() protected method

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

btnDownloadAll_Click() protected method

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

gviewReferences_SelectedIndexChanged() protected method

Called from the Refences Grid whenever a row is selected (Edited). Populates the reference's information into the info table and then shows the popup
protected gviewReferences_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

lbtnFileDownload_Click() protected method

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

lbtnPublicationFile_Click() protected method

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

lbtnReferenceFile_Click() protected method

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