Plumtree Portal UI  
 

TagHelper.ValidateContext Method 

The Tag Container uses this method to check whether or not this tag is being displayed in the correct context. This method checks for required parent and child tags, as well as for proper formatting and presence of required attributes. If the tag is not being used in a valid way, the Tag Container will log an error and not display this tag. Framework Helper Method

public virtual string ValidateContext();

Return Value

String The error message if this tag is not being used correctly and should not be displayed. Null implies the tag is being used correctly and should be displayed.

See Also

TagHelper Class | com.plumtree.portaluiinfrastructure.tags.helper Namespace