Toggler Constructor (WebControl, Boolean) |
Constructor taking the live associated control and its initial state.
When a live associated control is provided, its ClientID will be obtained during
PreRender, and its open/closed state will be set by the toggler at that time.
Namespace:
NetQuarry.WebControls
Assembly:
EAP.WebControls (in EAP.WebControls.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public Toggler(
WebControl associatedControl,
bool open
)
Public Sub New (
associatedControl As WebControl,
open As Boolean
)
Parameters
- associatedControl
- Type: System.Web.UI.WebControlsWebControl
The associated control object. - open
- Type: SystemBoolean
Specifies the initial state of the toggler.
See Also