AppFrame

Core Functionality

afGrid

Property Description
DataSourceName Gets or sets the name of the grid’s data source.
DetailPanel Gets or sets the ID of the grid’s detail panel.
KeyFieldName Gets or sets the name of the grid’s data source key field.
EditPanel Gets or sets the ID of the grid’s edit panel.
MasterGridId Gets or sets the ID of the grid’s master grid.
AdjustHeightOnResize Determines whether the grid’s height will be adjusted on resize.
ResizeHeightBy Gets or sets the height the grid will be adjusted by on resize.
LoadOnPageLoad Determines whether the grid is loaded on PageLoad.
ClientSide Events Description
OnPostSave Gets or sets the function which fires after the record in the grid is saved.
OnFirstRowSelected Gets or sets the function which fires when the first row in the grid is selected.
OnRowSelected Gets or sets the function which fires when a row in the gird is selected.
DeleteFunction Gets or sets the function which occurs when deleting the record from the grid
DeleteRequestData Gets or sets the function which fires before requested data in the grid is deleted

afEditWindow

Property Description
DataSourceName Gets or sets the name of the edit window’s data source.

afGridLookup

Property Description
Editable Determines whether lookup’s values can be changed.
ShowTitleBar Determines whether lookup’s title bar will be shown.
MaxRecords Gets or sets the maximum number of records shown in the lookup.
LookupWidth Gets or sets lookup’s width.
LookupHeight Gets or sets lookup’s height.
LookupValueField Gets or sets the column which value is used in the textbox of the lookup.
LookupTextField Gets or sets the column which value is shown in the textbox when selection is made in the popup list of the lookup.
DataValueField Gets or sets the field of the data source that provides the value of each lookup row
DataTextField Gets or sets the field of the data source that provides the text content of the lookup rows.
DataText Gets or sets lookup’s data text field.
DataValue Gets or sets lookup’s data value field.
DataSourceName Gets or sets the name of lookup’s data source
ClientSide Events Description
OnOpen Gets or sets the function which occurs when opening the popup list of the lookup
OnClientSelectedIndexChanged Gets or sets the function which occurs when the row is selected from the popup

afGridLookupColumn

Property Description
Width Gets or sets column width.
Visible Determines whether the column is visible or hidden.
HeaderText Gets or sets the text of the column header.
Name Indicates the name used to identify the column.
FormatType Gets or sets the type of formatting applied when displaying column values.
FormatString Gets or sets the format specified characters that indicate how a value is to be displayed in the column.
Alignment Gets or sets the alignment of column text.