| | Plumtree UI Infrastructure API | |
| PTConstruct.ReplaceNestedElementsWithHTMLEncodedString Method |
Call this method to set the inner HTML string of a specific element within this construct.
All previous inner html elements and strings will be removed, and replaced with the passed string.
This will HTMLEncode the string, and therefore should not be used with localized strings, which shouldn't need to be encoded.
public virtual void ReplaceNestedElementsWithHTMLEncodedString(
ElementName enContainer,
string
s);
Parameters
-
enContainer
- Pass an ElementName indicating an HTMLElement nested within this construct. All HTMLElements nested within the HTMLElement indicated by this ElementName will be replaced. ElementName objects are available from the specific PTConstructType used to obtain this construct.
-
s
- Pass an HTML string. This string will be nested within the HTMLElement indicated by the ElementName passed.
See Also
PTConstruct Class | com.plumtree.xpshared.htmlconstructs Namespace