Allows a button and a content area to support client side min/max functionality
Namespace: DotNetNuke.UI.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static void EnableMinMax( Control objButton, Control objContent, bool blnDefaultMin, DNNClientAPI..::..MinMaxPersistanceType ePersistanceType ) |
Visual Basic |
---|
Public Shared Sub EnableMinMax ( objButton As Control, objContent As Control, blnDefaultMin As Boolean, ePersistanceType As DNNClientAPI..::..MinMaxPersistanceType ) |
Parameters
- objButton
- Type: System.Web.UI..::..Control
Control that when clicked causes content area to be hidden/shown
- objContent
- Type: System.Web.UI..::..Control
Content area that is hidden/shown
- blnDefaultMin
- Type: System..::..Boolean
If content area is to be defaulted to minimized pass in true
- ePersistanceType
- Type: DotNetNuke.UI.Utilities..::..DNNClientAPI..::..MinMaxPersistanceType
How to store current state of min/max. Cookie, Page, None
Remarks
This method's purpose is to provide a higher level of abstraction between the ClientAPI and the module developer.