Version: 
        
      
      
      
      BindVisibility(System.Web.UI.ControlCollection toControl, System.Web.UI.WebControls.CheckBox checkBox, System.Web.UI.Control boundControl) Method
  
            Binds the visibility of a control to a CheckBox control.
            
 
  Syntax
  
    public
    static
    void BindVisibility(System.Web.UI.ControlCollection toControl, System.Web.UI.WebControls.CheckBox checkBox, System.Web.UI.Control boundControl)
  Parameters
  
    - toControl
 
    - Type: System.Web.UI.ControlCollection
Control collection.
 
  
  
    - checkBox
 
    - Type: System.Web.UI.WebControls.CheckBox
CheckBox control which will control the visibility of boundControl.
 
  
  
    - boundControl
 
    - Type: System.Web.UI.Control
Control which will have its visibility toggled by checkBox.