| ControlsHelperResolveMacros Method (String, DataRow) | 
            Replaces macros in text with appropriate value of the datarow and returns the result.
            
 
Namespace: CMS.ExtendedControlsAssembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 9.0.0
 Syntax
Syntaxpublic static string ResolveMacros(
	string sourceText,
	DataRow dr
)
Parameters
- sourceText
- Type: SystemString
 Source text to be processed
- dr
- Type: System.DataDataRow
 DataRow containing data that will be used for replacements
Return Value
Type: 
String Remarks
RemarksIt also escapes apostrophes ("'") to "\'" so that they do not break JavaScript.
 See Also
See Also