C# Class Hd.Web.Extensions.GridController

Inheritance: System.Web.UI.WebControls.WebControl, IPostBackEventHandler
Datei anzeigen Open project: TargetProcess/Tp.HelpDesk

Public Methods

Method Description
BindGrid ( ) : void
BindGrid ( bool bindFlag ) : void
GetDeletePostbackScript ( object argument ) : string
GetStateID ( ) : string
GridController ( ) : System
GridController ( GridView grid, Pager pager, BusinessQuery businessQuery ) : System
GridController ( GridView grid, Pager pager, BusinessQuery businessQuery, Type entityBaseType ) : System
Initialize ( ) : void
InitializeFilter ( ) : void
LoadQuery ( ) : SelectQuery
RaisePostBackEvent ( string eventArgument ) : void
RefreshGrid ( ) : void
ResetPageIndex ( ) : void

Protected Methods

Method Description
Grid_RowDataBound ( object sender, System.Web.UI.WebControls.GridViewRowEventArgs e ) : void
OnInit ( EventArgs e ) : void
OnLoad ( EventArgs e ) : void
Render ( System.Web.UI.HtmlTextWriter writer ) : void

Private Methods

Method Description
FindNestedControl ( string controlID ) : Control
Grid_PreRender ( object sender, EventArgs e ) : void
Grid_Sorting ( object sender, System.Web.UI.WebControls.GridViewSortEventArgs e ) : void
InitializeGridSettings ( ) : void
InitializePagerSettings ( ) : void
InitializeQueryPageSettings ( ) : void
InitializeQuerySettings ( ) : void
Pager_PageIndexChanged ( object sender, PageIndexChangedEventArgs e ) : void
SaveQuery ( ) : void
UpdatePagerTotalCount ( ) : void
UpdateSortDirectionSign ( ) : void

Draw sort direction image. TODO: Maybe refactored into Sorter class

_pager_PageSizeChanged ( object sender, PageSizeChangedEventArgs e ) : void

Method Details

BindGrid() public method

public BindGrid ( ) : void
return void

BindGrid() public method

public BindGrid ( bool bindFlag ) : void
bindFlag bool
return void

GetDeletePostbackScript() public method

public GetDeletePostbackScript ( object argument ) : string
argument object
return string

GetStateID() public method

public GetStateID ( ) : string
return string

GridController() public method

public GridController ( ) : System
return System

GridController() public method

public GridController ( GridView grid, Pager pager, BusinessQuery businessQuery ) : System
grid System.Web.UI.WebControls.GridView
pager Pager
businessQuery Hd.Portal.BusinessQuery
return System

GridController() public method

public GridController ( GridView grid, Pager pager, BusinessQuery businessQuery, Type entityBaseType ) : System
grid System.Web.UI.WebControls.GridView
pager Pager
businessQuery Hd.Portal.BusinessQuery
entityBaseType System.Type
return System

Grid_RowDataBound() protected method

protected Grid_RowDataBound ( object sender, System.Web.UI.WebControls.GridViewRowEventArgs e ) : void
sender object
e System.Web.UI.WebControls.GridViewRowEventArgs
return void

Initialize() public method

public Initialize ( ) : void
return void

InitializeFilter() public method

public InitializeFilter ( ) : void
return void

LoadQuery() public method

public LoadQuery ( ) : SelectQuery
return Hd.QueryExtensions.SelectQuery

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

OnLoad() protected method

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void

RaisePostBackEvent() public method

public RaisePostBackEvent ( string eventArgument ) : void
eventArgument string
return void

RefreshGrid() public method

public RefreshGrid ( ) : void
return void

Render() protected method

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

ResetPageIndex() public method

public ResetPageIndex ( ) : void
return void