CodeCharge Studio All ASP PHP Perl ColdFusion Java C#.NET VB.NET

Using Action to Dynamically Translate Control Value

This example explains how to retrieve a translation string by its key and assign it to a label control using the Retrieve Value for a Control Action. The event code is placed in the Before Show event.

We will use the "CCS_Today" translation key from CCS project resources.

  1. Add the Retrieve Value for a Control action to the Before Show event of the control.
  2. Set the Source Type property of the action to Translation and the Source Name property to CCS_Today.

See also


On-line, printable versions and updates