StringResource and RetrieveStringResource

The itp.StringResource and itp.RetrieveStringResource APIs give access to custom string resources stored in the <lang>_custom.msg file of your application. For more information on .msg files and string resources, refer to Text and JavaScript behavior.

void StringResource (Page page,
                     string resourceKey)
String RetrieveStringResource (Page page, 
                               string resourceKey)

Parameters:

The itp.StringResource API retrieves the string resource value and immediately writes it to the HTTP response, i.e., the result is output to the web page. The itp.RetrieveStringResource API returns the string resource value to the caller.