Class WebFormsContentValidator
Validator that can be used for validation when rendering content in WebForms.
Inheritance
System.Object
    WebFormsContentValidator
  Inherited Members
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: EPiServer.Web.PropertyControls
Assembly: EPiServer.dll
Version: 10.10.4Syntax
public class WebFormsContentValidatorConstructors
WebFormsContentValidator()
Declaration
public WebFormsContentValidator()Methods
ExistInControlHierarchy(Control, IContent, Control)
Checks wehter a an content instance is already present with same control somewhere in ancestor control hierarchy. That indicates that there is a circular dependency.
Declaration
public virtual bool ExistInControlHierarchy(Control parentControl, IContent content, Control contentControl)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Web.UI.Control | parentControl | The parent control. | 
| IContent | content | The content. | 
| System.Web.UI.Control | contentControl | The content control. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
