API Reference
The list control provides the list screen for the tool manager for adding or editing a specific record.
- Create new User control
- ie (NewsArticleList.ascx)
- Place control on front-end (.ascx)
- <advantage:ToolGridList runat="server" ID="StandardToolGridListControl1" />
- Inherit control in codebehind (.cs) from : ToolGridList<BusinessEntity.NewsArticle>
- Bind Property to grid control defined
- this.grdToolList = StandardToolGridListControl1.Grid;
- Override DefineColumn Method and bind to properties set in (SetSummaryData on the BusinessObject class)
- public override void DefineGridColumns()
{
DefineColumn("News Article", "Display", eDataType.String, true, true, true);
DefineColumn("Date", "NewsDate", eDataType.Date, true, true, true);
}
- public override void DefineGridColumns()
Comments