CaptionFamily
Sets the caption family for a list. As a result, translations can be added for the captions at the top of the list.
When this parameter is set, translations are added to the caption family using the following codes:
- Name. Caption family name.
- NoRecordsFound. Caption that is displayed when there are no entries in the list.
- RecordsFound. Caption that is displayed when entries are present in the list.
- RecordFound. Caption that is displayed when there is only one entry in the list.
- PreRecordsFound. Caption that is displayed before the number of records found.
- PreRecordFound. Caption that is displayed if only one entry is found.
Values
String. Specifies the caption family name.
Examples
MyList = CRM.GetBlock('CompanyGrid');
MyList.CaptionFamily = "Campaigns";
CRM.AddContent(MyList.Execute());
Response.Write(CRM.GetPage());
Changes the caption family of the company list to Campaigns.