Appframe Knowledge Base


1 hits
0

How to use tag-replacement in where clause

Using controls as replacement tag (ex:DevExpress.XtraEditors.TextEdit):

[PersonID]='<%cTextEdit1%>'

Using afGrid as replacement:

[PersonID]='<%cAfGrid1.PersonID%>' (refering to DataTable column name in the grids datasource)

PS: When using replacement in a grid where the parent control is another column, you need to refer to the field name in the grid's datasource

Following controls are supported as parent controls when using tag-replacement:
 - Controls inheriting from DevExpress.XtraEditors.BaseEdit
 - afGrid having afDataObject as DataSource

win · Perma link post comment Posted by: Peter Øren (13-jan-2012)