• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class SectionHeadControl

SectionHeadControl is a user control that provides all the server code to allow a section to be collapsed/expanded, using user provided images for the button.

Inheritance
System.Object
SectionHeadControl
Namespace: DotNetNuke.UI.UserControls
Assembly: DotNetNuke.dll
Syntax
public class SectionHeadControl : UserControl
Remarks

To use this control the user must provide somewhere in the asp page the implementation of the javascript required to expand/collapse the display.

Fields

| Improve this Doc View Source

imgIcon

SectionHeadControl is a user control that provides all the server code to allow a section to be collapsed/expanded, using user provided images for the button.

Declaration
protected ImageButton imgIcon
Field Value
Type Description
ImageButton
Remarks

To use this control the user must provide somewhere in the asp page the implementation of the javascript required to expand/collapse the display.

| Improve this Doc View Source

lblTitle

SectionHeadControl is a user control that provides all the server code to allow a section to be collapsed/expanded, using user provided images for the button.

Declaration
protected Label lblTitle
Field Value
Type Description
Label
Remarks

To use this control the user must provide somewhere in the asp page the implementation of the javascript required to expand/collapse the display.

| Improve this Doc View Source

pnlRule

SectionHeadControl is a user control that provides all the server code to allow a section to be collapsed/expanded, using user provided images for the button.

Declaration
protected Panel pnlRule
Field Value
Type Description
Panel
Remarks

To use this control the user must provide somewhere in the asp page the implementation of the javascript required to expand/collapse the display.

Properties

| Improve this Doc View Source

CssClass

Gets or sets cssClass determines the Css Class used for the Title Text.

Declaration
public string CssClass { get; set; }
Property Value
Type Description
System.String

A string representing the name of the css class.

Remarks

To use this control the user must provide somewhere in the asp page the implementation of the javascript required to expand/collapse the display.

| Improve this Doc View Source

IncludeRule

Gets or sets a value indicating whether includeRule determines whether there is a horizontal rule displayed under the header text.

Declaration
public bool IncludeRule { get; set; }
Property Value
Type Description
System.Boolean

A string representing true or false.

Remarks

To use this control the user must provide somewhere in the asp page the implementation of the javascript required to expand/collapse the display.

| Improve this Doc View Source

IsExpanded

Gets or sets a value indicating whether isExpanded determines whether the section is expanded or collapsed.

Declaration
public bool IsExpanded { get; set; }
Property Value
Type Description
System.Boolean

Boolean value that determines whether the panel is expanded (true) or collapsed (false). The default is true.

Remarks

To use this control the user must provide somewhere in the asp page the implementation of the javascript required to expand/collapse the display.

| Improve this Doc View Source

JavaScript

Gets or sets javaScript is the name of the javascript function implementation.

Declaration
public string JavaScript { get; set; }
Property Value
Type Description
System.String

A string representing the name of the javascript function implementation.

Remarks

To use this control the user must provide somewhere in the asp page the implementation of the javascript required to expand/collapse the display.

| Improve this Doc View Source

MaxImageUrl

Gets or sets the MaxImageUrl is the url of the image displayed when the contained panel is collapsed.

Declaration
public string MaxImageUrl { get; set; }
Property Value
Type Description
System.String

A string representing the url of the Max Image.

Remarks

To use this control the user must provide somewhere in the asp page the implementation of the javascript required to expand/collapse the display.

| Improve this Doc View Source

MinImageUrl

Gets or sets the MinImageUrl is the url of the image displayed when the contained panel is expanded.

Declaration
public string MinImageUrl { get; set; }
Property Value
Type Description
System.String

A string representing the url of the Min Image.

Remarks

To use this control the user must provide somewhere in the asp page the implementation of the javascript required to expand/collapse the display.

| Improve this Doc View Source

ResourceKey

Gets or sets the ResourceKey is the key used to identify the Localization Resource for the title text.

Declaration
public string ResourceKey { get; set; }
Property Value
Type Description
System.String

A string representing the ResourceKey.

Remarks

To use this control the user must provide somewhere in the asp page the implementation of the javascript required to expand/collapse the display.

| Improve this Doc View Source

Section

Gets or sets the Section is the Id of the DHTML object that contains the xection content title text.

Declaration
public string Section { get; set; }
Property Value
Type Description
System.String

A string representing the Section.

Remarks

To use this control the user must provide somewhere in the asp page the implementation of the javascript required to expand/collapse the display.

| Improve this Doc View Source

Text

Gets or sets the Text is the name or title of the section.

Declaration
public string Text { get; set; }
Property Value
Type Description
System.String

A string representing the Title Text.

Remarks

To use this control the user must provide somewhere in the asp page the implementation of the javascript required to expand/collapse the display.

Methods

| Improve this Doc View Source

imgIcon_Click(Object, ImageClickEventArgs)

SectionHeadControl is a user control that provides all the server code to allow a section to be collapsed/expanded, using user provided images for the button.

Declaration
protected void imgIcon_Click(object sender, ImageClickEventArgs e)
Parameters
Type Name Description
System.Object sender
ImageClickEventArgs e
Remarks

To use this control the user must provide somewhere in the asp page the implementation of the javascript required to expand/collapse the display.

| Improve this Doc View Source

OnLoad(EventArgs)

Assign resource key to label for localization.

Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type Name Description
EventArgs e
Remarks

To use this control the user must provide somewhere in the asp page the implementation of the javascript required to expand/collapse the display.

| Improve this Doc View Source

OnPreRender(EventArgs)

Renders the SectionHeadControl.

Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type Name Description
EventArgs e
Remarks

To use this control the user must provide somewhere in the asp page the implementation of the javascript required to expand/collapse the display.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS