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:
page should be the current ASP.NET Page object, usually one should pass this.resourceKey indicates the name of the value that should be retrieved.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.