C# Class Carrotware.Web.UI.Controls.CarrotGridView

Inheritance: System.Web.UI.WebControls.GridView
显示文件 Open project: ninianne98/CarrotCakeCMS Class Usage Examples

Private Properties

Property Type Description
GetPropertyValue object
ResetSortToColumn string
SetData void
SetTemplates void
SortDataListType IList
TestIfPropExists bool
WalkGridForHeadings void
WalkGridForHeadings void
WalkGridSetClick void

Public Methods

Method Description
CarrotGridView ( ) : System
GetClickedCommand ( ) : string
GetProperties ( object obj ) : List
SortDataListType ( IList lst ) : IList
SortDataTable ( DataTable dt ) : DataTable
lblSort_Command ( object sender, EventArgs e ) : void

Protected Methods

Method Description
PerformDataBinding ( IEnumerable data ) : void
Render ( System.Web.UI.HtmlTextWriter writer ) : void

Private Methods

Method Description
GetPropertyValue ( object obj, string property ) : object
ResetSortToColumn ( string sSortField ) : string
SetData ( ) : void
SetTemplates ( ) : void
SortDataListType ( IList lst, string sSort ) : IList
TestIfPropExists ( object obj, string property ) : bool
WalkGridForHeadings ( Control X ) : void
WalkGridForHeadings ( Control X, string sSortFld, string sSortDir ) : void
WalkGridSetClick ( Control X ) : void

Method Details

CarrotGridView() public method

public CarrotGridView ( ) : System
return System

GetClickedCommand() public method

public GetClickedCommand ( ) : string
return string

GetProperties() public method

public GetProperties ( object obj ) : List
obj object
return List

PerformDataBinding() protected method

protected PerformDataBinding ( IEnumerable data ) : void
data IEnumerable
return void

Render() protected method

protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
return void

SortDataListType() public method

public SortDataListType ( IList lst ) : IList
lst IList
return IList

SortDataTable() public method

public SortDataTable ( DataTable dt ) : DataTable
dt System.Data.DataTable
return System.Data.DataTable

lblSort_Command() public method

public lblSort_Command ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void