ComponentOne Accordion for ASP.NET Web Forms

Copyright © 1987-2015 GrapeCity, Inc. All rights reserved.

ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA

Website: http://www.componentone.com Sales: [email protected] Telephone: 1.800.858.2739 or 1.412.681.4343 (Pittsburgh, PA USA Office)

Trademarks

The ComponentOne product name is a trademark and ComponentOne is a registered trademark of GrapeCity, Inc. All other trademarks used herein are the properties of their respective owners.

Warranty

ComponentOne warrants that the media on which the software is delivered is free from defects in material and workmanship, assuming normal use, for a period of 90 days from the date of purchase. If a defect occurs during this time, you may return the defective media to ComponentOne, along with a dated proof of purchase, and ComponentOne will replace it at no charge. After 90 days, you can obtain a replacement for the defective media by sending it and a check for $25 (to cover postage and handling) to ComponentOne.

Except for the express warranty of the original media on which the software is delivered is set forth here, ComponentOne makes no other warranties, express or implied. Every attempt has been made to ensure that the information contained in this manual is correct as of the time it was written. ComponentOne is not responsible for any errors or omissions. ComponentOne’s liability is limited to the amount you paid for the product. ComponentOne is not liable for any special, consequential, or other damages for any reason.

Copying and Distribution

While you are welcome to make backup copies of the software for your own use and protection, you are not permitted to make copies for the use of anyone else. We put a lot of time and effort into creating this product, and we appreciate your support in seeing that it is used by licensed users only. Accordion for ASP.NET Web Forms Table of Contents

Overview ...... 7 Help with ASP.NET Web Forms Edition ...... 7 Key Features ...... 7 Quick Start...... 8 Step 1 of 4: Creating an Application ...... 8 Step 2 of 4: Customizing the C1Accordion Control ...... 9 Step 3 of 4: Adding Content to the C1AccordionPanes ...... 9 Step 4 of 4: Running the Project ...... 11 Design-Time Support ...... 11 Smart Tag ...... 11 C1Accordion Elements ...... 13 Header Area ...... 13 Content Area ...... 14 Samples ...... 14 Task-Based Help ...... 15 Binding Accordion to a Data Source ...... 15 Adding Content to C1AccordionPanes ...... 17 Changing the Direction of the Expanding Content Pane ...... 18 Applying Animation to the Accordion...... 19 Expanding Accordion Panes on Hover ...... 21 Opening Multiple Panes Simultaneously ...... 22 Adding a Custom Theme ...... 23 Client-Side Reference ...... 24 Using the Wijmo CDN ...... 25 C1.Web.Wijmo.Controls.4 Assembly ...... 27 Namespaces ...... 27 C1.Web.Wijmo.Controls Namespace ...... 27 Overview ...... 27 Classes ...... 27 C1BaseStateManager ...... 27 Overview ...... 28 Members...... 29

1 Accordion for ASP.NET Web Forms

C1TargetControlBase...... 29 Overview ...... 30 Members...... 30 Methods...... 35 GetPropertyValue Method...... 37 GetScriptDescriptors Method ...... 38 GetScriptReferences Method ...... 38 RegisterDesignTimeStyleSheet Method ...... 39 SetPropertyValue Method ...... 40 Properties ...... 41 CDNDependencyPaths Property...... 44 CDNPath Property ...... 45 DisplayVisible Property ...... 46 EnableCombinedJavaScripts Property ...... 47 Enabled Property ...... 47 Theme Property ...... 48 ThemeSwatch Property ...... 49 UseCDN Property ...... 50 WijmoControlMode Property ...... 51 WijmoCssAdapter Property...... 52 C1TargetControlHelper...... 53 Overview ...... 53 Members...... 54 C1TargetControlHelper Constructor ...... 54 Methods...... 55 ResolveEmbeddedResourceUrl Method ...... 55 C1TargetControlHelper ...... 56 Overview ...... 57 Members...... 57 C1TargetControlHelper Constructor ...... 59 Methods...... 60 EnsureEnabledState Method ...... 61 GetScriptDescriptors Method ...... 61 GetScriptDescriptors() Method ...... 61

2 Accordion for ASP.NET Web Forms

GetScriptDescriptors(String) Method ...... 62 RegisterDesignTimeStyleSheet Method ...... 63 RegisterDesignTimeStyleSheets Method ...... 64 RegisterIncludes Method ...... 64 RegisterOnSubmitStatement Method ...... 64 RegisterRunTimeStylesheets Method ...... 65 RegisterScriptDescriptors Method ...... 65 RegisterScriptDescriptorsWithoutScriptManager Method...... 66 RegisterScriptDescriptorsWithScriptManager Method ...... 66 RenderJsonDataField Method ...... 67 ShowAbout Method ...... 67 Properties ...... 68 Control Property ...... 68 JsonSerializableHelper Property ...... 69 Page Property ...... 69 ScriptManager Property...... 69 WijChartNavigator...... 70 Overview ...... 70 Members...... 71 WijChartNavigator Constructor ...... 71 C1.Web.Wijmo.Controls.C1Accordion Namespace ...... 72 Overview ...... 72 Classes ...... 73 C1Accordion ...... 73 Overview ...... 74 Members...... 76 C1Accordion Constructor ...... 82 Methods...... 83 DataBind Method ...... 84 LoadLayout Method...... 85 LoadLayout(String) Method ...... 85 LoadLayout(Stream) Method ...... 86 LoadLayout(String,LayoutType) Method ...... 86 LoadLayout(Stream,LayoutType) Method ...... 87

3 Accordion for ASP.NET Web Forms

LoadPostData Method ...... 88 RaisePostBackEvent Method...... 89 RaisePostDataChangedEvent Method ...... 90 RecreateChildControls Method ...... 90 SaveLayout Method ...... 91 SaveLayout(String) Method...... 91 SaveLayout(Stream) Method ...... 92 Properties ...... 92 AccessKey Property ...... 97 Animated Property ...... 97 AutoPostBack Property ...... 98 ContentField Property ...... 99 DataMember Property ...... 100 DataSourceID Property ...... 100 Enabled Property ...... 101 Event Property...... 102 ExpandDirection Property ...... 102 Header Property ...... 103 HeaderField Property ...... 104 OnClientBeforeSelectedIndexChanged Property ...... 104 OnClientSelectedIndexChanged Property...... 105 Panes Property ...... 106 RequireOpenedPane Property ...... 107 SelectedIndex Property...... 107 SelectedPane Property ...... 108 Events ...... 109 SelectedIndexChanged Event ...... 110 C1AccordionPane ...... 110 Overview ...... 111 Members...... 112 C1AccordionPane Constructor ...... 116 C1AccordionPane Constructor() ...... 117 C1AccordionPane Constructor(C1Accordion) ...... 117 C1AccordionPane Constructor(String) ...... 118

4 Accordion for ASP.NET Web Forms

Methods...... 119 RenderBeginTag Method ...... 120 RenderEndTag Method ...... 121 Properties ...... 122 Content Property ...... 124 ContentPanel Property ...... 125 Controls Property ...... 126 Expanded Property ...... 127 Header Property ...... 127 HeaderPanel Property ...... 128 C1AccordionPaneCollection...... 129 Overview ...... 130 Members...... 130 C1AccordionPaneCollection Constructor ...... 132 Methods...... 132 Add Method ...... 133 Clear Method...... 134 Insert Method...... 134 Remove Method ...... 135 RemoveAt Method ...... 136 C1AccordionPaneContentContainer ...... 136 Overview ...... 137 Members...... 138 C1AccordionPaneContentContainer Constructor ...... 143 Methods...... 144 RenderBeginTag Method ...... 145 RenderEndTag Method ...... 146 Properties ...... 146 ContentElementAttributes Property ...... 150 Page Property ...... 151 C1AccordionPaneHeaderContainer ...... 151 Overview ...... 152 Members...... 153 C1AccordionPaneHeaderContainer Constructor ...... 158

5 Accordion for ASP.NET Web Forms

Methods...... 159 RenderBeginTag Method ...... 160 RenderEndTag Method ...... 161 Properties ...... 161 ContentElementAttributes Property ...... 165 C1AccordionSerializer...... 165 Overview ...... 166 Members...... 167 C1AccordionSerializer Constructor ...... 167 Methods...... 168 GetNextUniqueAccordionPaneName Method ...... 168 Enumerations...... 169 ExpandDirection ...... 169

6 Accordion for ASP.NET Web Forms

Overview Provide multiple panes of content, displaying them one at a time with Accordion for ASP.NET Web Forms. The C1Accordion control supports data-binding, 4 expand directions, over 30 possible animations, and the ability to fully customize the header and content areas.

Getting Started

To get started, review the following topics:

 Key Features  Quick Start  Samples Help with ASP.NET Web Forms Edition Getting Started

For information on installing ComponentOne Studio ASP.NET Web Forms Edition, licensing, technical support, namespaces and creating a project with the control, please visit Getting Started with ASP.NET Web Forms Edition.

See Also

Key Features

Key Features Accordion for ASP.NET Web Forms provides the following unique key features:

 Multiple Panes Add multiple panes and accordions for displaying your information one pane at a time.  External Content You can show external content, including content of another Web page in your project or even content of a website outside of your project, in the accordion pane or viewing area.  4 Expand Directions The accordion control is able to expand in several different directions: Top, Right, Bottom, or Left.  Animation Accordion includes built-in animation options. Customize how animation effects are transitioned in the accordion.  Keyboard Support Add keyboard accessibility support to give the C1Accordion control focus with a specified key combination. This enables end-users to use the keyboard arrow keys to navigate through the C1AccordionPanes.

7 Accordion for ASP.NET Web Forms

 Theming With just a click of th e SmartTag, change accordion's look by selecting one of the 6 premium themes (Arctic, Midnight, Aristo, Rocket, Cobalt, and Sterling). Optionally, use ThemeRoller from jQuery UI to create a customized theme!  CSS Support Use a cascading style sheet (CSS) style to define custom skins. CSS support allows you to match the accordion to your organization's standards.

See Also Quick Start

Quick Start The Accordion Quick Start describes how to get started with the ASP.NET control, C1Accordion. In this quick start, you will create an ASP.NET application containing one C1Accordion control and four C1AccordionPanes.

See Also

Step 1 of 4: Creating an Application

Step 2 of 4: Customizing the C1Accordion Control

Step 3 of 4: Adding Content to the C1AccordionPanes

Step 4 of 4: Running the Project Step 1 of 4: Creating an Application In this topic you will add a Panel control with some content that will eventually become the accordion content.

1. Begin by creating a new Blank ASP.NET Web application. 2. Add the following references to your project by right-clicking the References folder and selecting Add References from the list. Browse for the following assembly references: o C1.Web.Wijmo.Controls.4.dll o C1.Web.Wijmo.Controls.Design.4.dll o C1.C1Report.4.dll 3. Select the Design and remove the default content from the Default.aspx page. 4. While in Design view, navigate to the Visual Studio Toolbox and double-click the C1Accordion control to add an accordion to the main content of your page.

See Also Step 2 of 4: Customizing the C1Accordion Control

8 Accordion for ASP.NET Web Forms

Step 2 of 4: Customizing the C1Accordion Control In this topic you will add a C1AccordionPane to the C1Accordion control and set some of its properties.

1. Click the C1Accordion smart tag to access the C1Accordion Tasks where you can set frequently-used properties and tasks. 2. Set the ExpandDirection property to Bottom. 3. Click the Theme drop-down arrow and select Cobalt. 4. Click Edit Panes to add new C1AccordionPanes to C1Accordion. 5. Select Pane from the Add Child Item dropdown menu. Repeat this three times.

6. Click OK.

See Also Step 3 of 4: Adding Content to the C1AccordionPanes Step 3 of 4: Adding Content to the C1AccordionPanes In this topic you will add content to the content area of the C1AccordionPanes.

1. Click the Source tab on your form to switch to Source view. 2. Add a title and some content to C1Accordion1Pane1 within the tags. For example 3. 4. 5.

6. Step 1

9 Accordion for ASP.NET Web Forms

7.

8. 9.

10. Step 1

11. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ac lacus ac nibh 12. viverra faucibus. Mauris non vestibulum dui 13.
14. 15. Add a title and some content to C1Accordion1Pane2 within the tags. For example: 16. 17. 18.
19. Step 2 20.
21. 22.

23. Step 2

24. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia 25. Curae; Vestibulum ante ipsum primis in faucibus. 26.
27. 28. Add a title and some content to C1Accordion1Pane3 within the tags.For example: 29. 30. 31.
32. Step 3 33.
34. 35.

36. Step 3

37. Sed facilisis placerat commodo. Nam odio dolor, viverra eu blandit in, hendrerit 38. eu arcu. In hac habitasse platea dictumst. 39.
40. 41. Add a title and some content to C1Accordion1Pane4 within the tags. For example: 42. 43. 44.
45. Step 4 46.
47. 48.

49. Step 4

50. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ac lacus ac nibh 51. viverra faucibus. Mauris non vestibulum dui. 52.
53. See Also

10 Accordion for ASP.NET Web Forms

Step 4 of 4: Running the Project Step 4 of 4: Running the Project Press F5 to run the project and view the following:

 The first pane appears expanded.  Click the Step 2 pane. The Step1 pane will close and the Step 2 will expand.

Congratulations! You have successfully completed the Accordion for ASP.NET Web Forms Quick Start.

See Also

Design-Time Support

Design-Time Support C1Accordion provides customized context menus, smart tags, and a designer that offers rich design-time support and simplifies working with the object model.

The following sections describe how to use C1BarChart's design-time environment to configure the C1Accordion control.

See Also

Smart Tag Smart Tag In Visual Studio, C1Accordion control includes a smart tag. A smart tag represents a short-cut tasks menu that provides the most commonly used properties in C1Accordion.

The C1Accordion control provides quick and easy access to common properties through its smart tag.

To access the C1Accordion Tasks menu, click on the smart tag ( ) in the upper-right corner of the C1Accordion control. This will open the C1Accordion Tasks menu.

11 Accordion for ASP.NET Web Forms

The C1Accordion Tasks menu operates as follows:

 Choose Data Source Clicking on the Choose Data Source item opens a drop-down list where you can choose an existing data source or select a new data source to bind to.  ExpandDirection Set this property to determine where the accordion will appear when a C1AccordionPane is clicked. Options include: Top, Right, Bottom, and Left.  Edit Panes Clicking Edit Panes opens the Accordion Designer Form, where panes can be added, removed, and reordered. You can preview the C1Accordion here as well as set a variety of properties defining the appearance, behavior, and more for each C1AccordionPane.  Add new pane Clicking the SeriesHoverStyle item opens the ChartStyle Collection Editor where you can add or remove ChartStyle members to the C1BarChart control. Once a ChartStyle member is added you modify its properties.  Remove selected pane Clicking Remove selected pane deletes the currently selected C1AccordionPane in the C1Accordion control.  SelectedIndex Set this property to determine the C1AccordionPane to be initially displayed.  Theme The Theme drop-down box allows you to set the Theme property and change the C1Accordion control's appearance to one of the five predefined themes. By default this is set to the Aristo theme.  Create new theme The Create new theme option will open ThemeRoller for Visual Studio, allowing you

12 Accordion for ASP.NET Web Forms

to create a new, custom theme for your application. To find more information on using ThemeRoller in your application, see ThemeRoller for Visual Studio.  Use CDN When the Use CDN is selected it loads the client resources from CDN. This is not selected by default.  CDN path Displays the url path of the CDN.  Use Bootstrap When the Use Bootstrap checkbox is selected, Bootstrap theming will be applied to the control. To find more information on using Bootstrap theming in your application, see Bootstrap theming.  About Clicking on the About item displays a dialog box, which is helpful in finding the version number of ASP.NET Web Forms Edition and online resources.

See Also C1Accordion Elements

C1Accordion Elements This section provides a descriptive overview of the elements that comprise the C1Accordion control.

The C1Accordion control is made up of multiple C1AccordionPanes. Each C1AccordionPane is made up of two distinct elements, the header area and the content area, that represent different aspects of the control.

See Also

Header Area

Content Area Header Area The C1AccordionPane's header area appears at the top of the control and initally displays "C1Accordion is Empty. Click here to add new pane." You can add content, including text, HTML content, images, and arbitrary controls such as buttons and labels, to the header area of C1Accordion. Elements in the header area of the control can be added and moved there through a simple drag-and-drop operation.

You can add content to the header area of the C1AccordionPane at design time. Simply click the header area and begin typing.

When you add content to the header and switch to Source view, you will notice that the header appears inside

tags inside the tags:

13 Accordion for ASP.NET Web Forms

Step 2

See Also

Content Area Content Area The C1AccordionPane's content area is initially empty. You can add rich text through custom HTML content, URL links through the ContentUrl property, and arbitrary controls such as buttons and labels. Elements in the content area of the control can be added and moved there through a simple drag-and-drop operation.

When you add content to the content area and switch to Source view, you will notice that the content appears inside tabs inside the tags:

Step 2
Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Vestibulum ante ipsum primis in faucibus.

See Also

Task-Based Help

Samples Please be advised that this ComponentOne software tool is accompanied by various sample projects and/or demos, which may make use of other ComponentOne development tools included with ComponentOne Studio Enterprise.

C# Samples

The following pages within the ControlExplorer sample installed with ASP.NET Web Forms Edition detail the C1Accordion control's functionality:

Sample Description

14 Accordion for ASP.NET Web Forms

Overview Shows an accordion control with multiple panes.

Data-Binding Demonstrates how to bind C1Accordion to a data source.

Postback Events This sample uses the AutoPostBack property to determine whether or not the control posts back to the server each time a user interacts with the control.

Client Object Model Shows how you can use c1accordion's client-side object model to customize the accordion control on the client-side.

See Also

Task-Based Help

Task-Based Help The task-based help assumes that you are familiar with programming in Visual Studio. By following the steps outlined in the Help, you will be able to create projects demonstrating a variety of Accordion for ASP.NET Web Forms features and get a good sense of what Accordion for ASP.NET Web Forms can do.

Most task-based help topics assume you have an accordion control that has content for the headers and content panes in your project.

See Also

Binding Accordion to a Data Source

Adding Content to C1AccordionPanes

Changing the Direction of the Expanding Content Pane

Applying Animation to the Accordion

Expanding Accordion Panes on Hover

Opening Multiple Panes Simultaneously

Adding a Custom Theme Binding Accordion to a Data Source You can easily bind the C1Accordion control to a data source. The Header and Content data fields are determined by the C1Accordion control automatically and they are used to

15 Accordion for ASP.NET Web Forms determine what appears in the header and content areas of the accordion. You can bind Header/Content text to specific fields using the HeaderField and ContentField properties if you'd rather. To view live demo for data binding in Accordion for ASP.NET Web Forms. see Accordion -> Data-Binding.

In the example, you'll use the C1NWind.mdb that is installed automatically with the product in C:\Users\\Documents\ComponentOne Samples\Common\C1NWind.mdb. Copy the C1NWind.mdb to the App_Data folder of your project. In the Solution Explorer, right-click C1NWind.mdb and select Include in Project, if necessary.

1. Create an ASP.NET Project. 2. Add a C1Accordion control to the page. 3. Click the C1Accordion control smart tag, click the drop-down arrow next to Choose Data Source, and select . 4. In the Data Source Configuration Wizard, select Access Database and click OK. 5. Browse, select the C1NWind.mdb in the project's App_Data folder, click OK, and then click Next. 6. In the Configure the Select Statement under Columns, select CategoryName and Description so that the SELECT statement looks like this: 7. 8. SELECT [CategoryName], [Description] FROM [Categories] The CategoryName will appear in the header of the accordion while the Description will appear in the content area of the accordion. If you would have selected Description first and then CategoryName, the Description would appear in the header and the CategoryName would appear in the content area of the accordion.

Alternatively, in the Configure the Select Statement window, you can select * to make the SELECT statement SELECT * FROM [Categories] and then specify the desired fields in the ContentField and HeaderField properties.

9. Click Next and then click Finish. 10. Press F5 to run the application and see the accordion is bound to the database. Click the headers to open the content panes.

16 Accordion for ASP.NET Web Forms

Alternatively, if you want to bind the headers and content panes to specific fields, you can also use the HeaderField and ContentField properties

See Also

Adding Content to C1AccordionPanes Adding Content to C1AccordionPanes You can add C1AccordionPanes to the accordion using the Accordion Designer Form and then add content in the source markup.

1. Click the C1Accordion smart tag and in the C1Accordion Tasks menu, click Edit Panes to add new C1AccordionPanes toC1Accordion. Alternatively, you can add panes by clicking Add new pane in the C1Accordion Tasks menu. 2. Click the Add Child Item three times to add three panes and then click OK to close the Accordion Designer Form. 3. Click the Source tab on your form to switch to Source view. 4. Add a title and some content to C1Accordion1Pane1 within the tags. For example: 5. 6. 7.

8. Header 1 9.
10. 11. Lorem ipsum dolor sit amet, consectetur adipiscing elit. 12. 13. 14. Add a title and some content to C1Accordion1Pane2 within the tags. For example: 15. 16. 17.
18. Header 2 19.
20. 21. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Vestibulum ante ipsum primis in faucibus. 22. 23. 24. Add a title and some content to C1Accordion1Pane3 within the tags.For example: 25. 26. 27.
28. Header 3 29.
30. 31. Sed facilisis placerat commodo. Nam odio dolor, viverra eu blandit in, hendrerit eu arcu.

17 Accordion for ASP.NET Web Forms

32. 33. 34. Press F5 to run the application and click the headers to open the content panes.

See Also

Changing the Direction of the Expanding Content Pane Changing the Direction of the Expanding Content Pane The C1Accordion control allows users to expand pane content from the top, bottom, left, or right. Simply set the ExpandDirection property to take advantage of this feature. To view live demo for expand direction in Accordion for ASP.NET Web Forms, see Accordion -> ExpandDirection.

Design Time

1. Click the C1Accordion smart tag to open the C1Accordion Tasks menu. 2. Click the drop-down arrow next to the ExpandDirection property and select one of the options, Top, for example.

In Code

Add the following code to the Page_Load event, for example, to set the ExpandDirection property.

To write code in Visual Basic

Visual Basic Copy Code

C1Accordion1.ExpandDirection = ExpandDirection.Top

To write code in C#

18 Accordion for ASP.NET Web Forms

C# Copy Code

C1Accordion1.ExpandDirection = ExpandDirection.Top;

In Markup

You can add the markup for the ExpandDirection property directly to the C1Accordion markup. It is automatically added to the markup if you set the property in the page at design time. The markup looks like the following:

When you run the application and click an accordion header, the content expands upward, above the header.

See Also

Applying Animation to the Accordion Applying Animation to the Accordion The C1Accordion control supports animation. Simply set the Animated Effect property to take advantage of this feature. To view live demo for animation in Accordion for ASP.NET Web Forms, see Accordion -> Animation.

Possible effects include the following: easeOutElastic easeInOutQuad easeInQuint easeInElastic easeOutSine easeInOutQuint

19 Accordion for ASP.NET Web Forms easeInOutElastic easeInSine easeOutBack easeOutBounce easeInOutSine easeInBack easeInBounce easeOutCirc easeInOutBack easeInOutBounce easeInCirc easeOutQuart easeOutExpo easeInOutCirc easeInQuart easeInExpo easeOutCubic easeInOutQuart easeInOutExpo easeInCubic easeLinear easeOutQuad easeInOutCubic - easeInQuad easeOutQuint -

Design Time

1. Select View | Properties Window. 2. Expand theAnimated property and enter one of the effects in the previous table next to the Effect property, for example, easeInOutBounce.

In Code

Add the following code to the Page_Load event, for example, to set the Animated property.

To write code in Visual Basic

Visual Basic Copy Code

C1Accordion1.Animated.Effect = "easeInOutBounce"

To write code in C#

C# Copy Code

C1Accordion1.Animated.Effect = "easeInOutBounce";

In Markup

20 Accordion for ASP.NET Web Forms

You can add the markup for the Animated property directly to theC1Accordion markup. It is automatically added to the markup if you set the property in the page at design time. The markup looks like the following:

When you run the application and click an accordion header, you will notice the effect as the content pane expands.

See Also

Expanding Accordion Panes on Hover Expanding Accordion Panes on Hover The C1Accordion control allows you to change the event that causes a content area to expand when a header is clicked. Simply set the Event property to take advantage of this feature. To view live demo for hover in Accordion for ASP.NET Web Forms, see Accordion -> Hover.

Possible events include: click, , dblclick, mousemove, mousedown, mouseup, and mouseout.

Design Time

1. Select View | Properties Window. 2. Next to the Event property, enter an event name, mouseover in this case since we want the content panes to expand when the mouse hovers over the headers.

In Code

Add the following code to the Page_Load event, for example, to set the Event property.

To write code in Visual Basic

Visual Basic Copy Code

C1Accordion1.Event = "mouseover"

To write code in C#

C# Copy Code

C1Accordion1.Event = "mouseover";

21 Accordion for ASP.NET Web Forms

In Markup

You can add the markup for the Event property directly to the C1Accordion markup. It is automatically added to the markup if you set the property in the page at design time. The markup looks like the following:

DataSourceID="AccessDataSource1" Event="mouseover"> When you run the application and hover over an accordion header, the content pane expands.

See Also

Opening Multiple Panes Simultaneously Opening Multiple Panes Simultaneously The C1Accordion control allows you to open the multiple panes at once.

When the RequireOpenedPane property is set to True, clicking a header will close the currently opened pane, leaving the remaining panes closed. When the RequireOpenedPane property is set to False, clicking a header will not close the currently opened panes.

Design Time

1. Select View | Properties Window. 2. Next to the RequireOpenedPane property, click the drop-down arrow and choose False.

In Code

Add the following code to the Page_Load event, for example, to set theEvent property.

To Write code in Visual Basic

Visual Basic Copy Code

C1Accordion1.RequireOpenedPane = False

To write code in C#

C# Copy Code

C1Accordion1.RequireOpenedPane = false;

In Markup

22 Accordion for ASP.NET Web Forms

You can add the markup for theEvent property directly to the C1Accordion markup. It is automatically added to the markup if you set the property in the page at design time. The markup looks like the following:

When you run the application and hover over an accordion header, the content pane expands.

See Also

Adding a Custom Theme Adding a Custom Theme Accordion for ASP.NET Web Forms provides six built-in themes, but if you prefer to use a different theme, you can choose an existing theme using a CDN URL or create your own custom theme with the jQuery ThemeRoller Web application.

Using ThemeRoller for Visual Studio

The new ThemeRoller for Visual Studio makes designing beautiful themes for ASP.NET Web Forms Edition Controls easy. For more information on creating and editing a ThemeRoller for Visual Studio theme, please see ThemeRoller for Visual Studio.

Using a CDN URL

1. Click the C1Accordion smart tag to open the C1Accordion Tasks menu. 2. Select Use CDN. 3. In the Theme property enter a CDN URL to specify the theme; CDN URLs can be found at http://blog.jqueryui.com/2011/06/jquery-ui-1-8-14/. In this example, we'll use the sunny theme: http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.14/themes/sunny/jquery- ui.css.

This theme setting is stored in the of the Web.config file. In the Solution Explorer, double-click the Web.config file. Notice the tag contains a WijmoTheme key and value; this is where the CDN URL you added is specified.

4. Run the project and notice the theme is applied to C1Accordion.

23 Accordion for ASP.NET Web Forms

Using jQuery ThemeRoller

1. Go to http://jqueryui.com/themeroller/. 2. On the Roll Your Own tab, change the settings to create a custom theme; you can customize fonts, colors, backgrounds, borders, and more. Or click the Gallery tab and select an existing theme. 3. Click the Download button and then click Download again on the Build Your Download page. 4. Save and unzip the theme .zip file to a folder within your Visual Studio project folder. In this example, we created a Themes folder. 5. In the Solution Explorer, select the project name and click the refresh button so the Themes folder appears in your project. 6. Click the C1Accordion smart tag to open the Tasks menu. 7. Select Use CDN. 8. Right-click on the C1Accordion control and navigate to the Theme property in the Properties window and enter the path to your custom theme .css, for example, Themes/css/custom-theme/jquery-ui-1.8.16.custom.css. 9. This theme setting is stored in the of the Web.config file. In the Solution Explorer, double-click the Web.config file. Notice the tag contains a WijmoTheme key and value; this is where the custom theme you added is specified. 10. Run the project and notice the theme is applied to C1Accordion.

Client-Side Reference As part of the amazing ComponentOne Web stack, the Wijmo jQuery UI widgets are optimized for client-side Web development and utilize the power of jQuery for superior performance and ease of use.

The ComponentOne Wijmo website at http://wijmo.com/widgets/ provides everything you need to know about Wijmo widgets, including demos and samples, documentation, theming examples, support and more.

24 Accordion for ASP.NET Web Forms

The client-side documentation provides an overview, sample markup, options, events, and methods for each widget. To get started with client-side Web development for Accordion for ASP.NET Web Forms, click one of the external links to view our Wijmo wiki documentation. Note that the Overview topic for each of the widgets applies mainly to the widget, not to the server-side ASP.NET Web Forms control.

Accordion

 wijaccordion documentation  wijaccordion API

See Also Using the Wijmo CDN Using the Wijmo CDN You can easily load the client-side Wijmo widgets into your web page using a Content Delivery Network (CDN). CDN makes it quick and easy to use external libraries, and deploy them to your users. A CDN is a network of computers around the world that host content. Ideally, if you're in the United States and you access a webpage using a CDN, you'll get your content from a server based in the US. If you're in India or China, and you access the SAME webpage, the content will come from a server a little closer to your location.

When web browsers load content, they commonly will check to see if they already have a copy of the file cached. By using a CDN, you can benefit from this. If a user had previously visited a site using the same CDN, they will already have a cached version of the files on their machine. Your page will load quicker since it doesn't need to re-download your support content.

Wijmo has had CDN support from the very beginning. You can find the CDN page at http://wijmo.com/downloads/cdn/. The markup required for loading Wijmo into your page looks similar to this:

25 Accordion for ASP.NET Web Forms

In this markup, you'll notice that some of the .js files are labeled as *.min.js. These files have been minified - in other words, all unnecessary characters have been removed - to make the pages load faster. You will also notice that there are no references to individual .js files. The JavaScript for all widgets, CSS, and jQuery references have been combined into one file, respectively, such as wijmo-complete.2.0.0.min.js. If you want to link to individual .js files, see the Dependencies topic for each widget.

With the ASP.NET Web Forms Edition controls, you can click the Use CDN checkbox in the control's Tasks menu and specify the CDN path if you want to access the client-side widgets.

26 Accordion for ASP.NET Web Forms C1.Web.Wijmo.Controls.4 Assembly Namespaces C1.Web.Wijmo.Controls Namespace Overview Inheritance Hierarchy

Classes

Class Description

C1BaseStateManager Base class to support view state management for a server control.

C1TargetControlBase Class to be used as base for the wijmo extenders target controls. Class to be used as base for the wijmo target controls.

C1TargetControlHelper

C1TargetControlHelper

WijChartNavigator

See Also

Reference

C1.Web.Wijmo.Controls.4 Assembly Classes C1BaseStateManager Base class to support view state management for a server control.

Object Model

27 Accordion for ASP.NET Web Forms

Syntax

Visual Basic (Declaration)

Public MustInherit Class C1BaseStateManager

C# public abstract class C1BaseStateManager Inheritance Hierarchy

System.Object C1.Web.Wijmo.Controls.C1BaseStateManager

See Also

Reference

C1BaseStateManager Members C1.Web.Wijmo.Controls Namespace Overview Base class to support view state management for a server control.

Object Model

Syntax

Visual Basic (Declaration)

Public MustInherit Class C1BaseStateManager

C# public abstract class C1BaseStateManager Inheritance Hierarchy

System.Object C1.Web.Wijmo.Controls.C1BaseStateManager

28 Accordion for ASP.NET Web Forms

See Also

Reference

C1BaseStateManager Members C1.Web.Wijmo.Controls Namespace Members The following tables list the members exposed by C1BaseStateManager.

See Also

Reference

C1BaseStateManager Class C1.Web.Wijmo.Controls Namespace C1TargetControlBase Class to be used as base for the wijmo extenders target controls. Class to be used as base for the wijmo target controls.

Object Model

Syntax

Visual Basic (Declaration)

Public MustInherit Class C1TargetControlBase Inherits System.Web.UI.WebControls.WebControl

C#

[WidgetDependencies(System.Object[])] public abstract class C1TargetControlBase : System.Web.UI.WebControls.WebControl Inheritance Hierarchy

System.Object System.Web.UI.Control System.Web.UI.WebControls.WebControl C1.Web.Wijmo.Controls.C1TargetControlBase

29 Accordion for ASP.NET Web Forms

See Also

Reference

C1TargetControlBase Members C1.Web.Wijmo.Controls Namespace Overview Class to be used as base for the wijmo extenders target controls. Class to be used as base for the wijmo target controls.

Object Model

Syntax

Visual Basic (Declaration)

Public MustInherit Class C1TargetControlBase Inherits System.Web.UI.WebControls.WebControl

C#

[WidgetDependencies(System.Object[])] public abstract class C1TargetControlBase : System.Web.UI.WebControls.WebControl Inheritance Hierarchy

System.Object System.Web.UI.Control System.Web.UI.WebControls.WebControl C1.Web.Wijmo.Controls.C1TargetControlBase

See Also

Reference

C1TargetControlBase Members C1.Web.Wijmo.Controls Namespace Members The following tables list the members exposed by C1TargetControlBase.

30 Accordion for ASP.NET Web Forms

Public Properties

Name Description

AccessKey (Inherited from System.Web.UI.WebControls.WebControl)

AppRelativeTemplateSourceDirectory (Inherited from System.Web.UI.Control)

Attributes (Inherited from System.Web.UI.WebControls.WebControl)

CDNDependencyPaths A string array value specifies all css/js references that wijmo control depends on.

CDNPath Content Delivery Network path.

ClientID (Inherited from System.Web.UI.Control)

ClientIDMode (Inherited from System.Web.UI.Control)

Controls (Inherited from System.Web.UI.Control)

ControlStyle (Inherited from System.Web.UI.WebControls.WebControl)

ControlStyleCreated (Inherited from System.Web.UI.WebControls.WebControl)

CssClass (Inherited from System.Web.UI.WebControls.WebControl)

DisplayVisible Gets or sets a value that indicates whether a server control is rendered as UI on the page.

EnableCombinedJavaScripts Enable JavaScripts files combined into one file. In order to combined enabled, you must register the WijmoHttpHandler in web.config.

31 Accordion for ASP.NET Web Forms

Enabled Overridden. Gets or sets a value indicating whether the Web server control is enabled.

EnableTheming (Inherited from System.Web.UI.WebControls.WebControl)

EnableViewState (Inherited from System.Web.UI.Control)

HasAttributes (Inherited from System.Web.UI.WebControls.WebControl)

Height (Inherited from System.Web.UI.WebControls.WebControl)

ID (Inherited from System.Web.UI.Control)

NamingContainer (Inherited from System.Web.UI.Control)

Page (Inherited from System.Web.UI.Control)

Parent (Inherited from System.Web.UI.Control)

RenderingCompatibility (Inherited from System.Web.UI.Control)

Site (Inherited from System.Web.UI.Control)

SkinID (Inherited from System.Web.UI.WebControls.WebControl)

Style (Inherited from System.Web.UI.WebControls.WebControl)

SupportsDisabledAttribute (Inherited from System.Web.UI.WebControls.WebControl)

TabIndex (Inherited from System.Web.UI.WebControls.WebControl)

32 Accordion for ASP.NET Web Forms

TemplateControl (Inherited from System.Web.UI.Control)

TemplateSourceDirectory (Inherited from System.Web.UI.Control)

Theme Name of the theme that will be used to style the widgets. Available embedded themes include: aristo, midnight, and ui-lightness. Note that only one theme can be used for the whole page at one time. Please make sure that all widget extenders have the same Theme value.

ThemeSwatch A value that indicates the theme swatch of the control, this property only works when WijmoControlMode property is Mobile.

ToolTip (Inherited from System.Web.UI.WebControls.WebControl)

UniqueID (Inherited from System.Web.UI.Control)

UseCDN Determines whether the widget extender must load client resources from CDN (Content Delivery Network) path given by property CDNPath.

ValidateRequestMode (Inherited from System.Web.UI.Control)

ViewStateMode (Inherited from System.Web.UI.Control)

Width (Inherited from System.Web.UI.WebControls.WebControl)

WijmoControlMode A value that indicates mode of the control, whether it is a mobile or web control. Note that only one value can be used for the whole website or project.

WijmoCssAdapter Indicates the control applies the theme of JQuery UI or Bootstrap.

Top

33 Accordion for ASP.NET Web Forms

Public Methods

Name Description

ApplyStyle (Inherited from System.Web.UI.WebControls.WebControl)

ApplyStyleSheetSkin (Inherited from System.Web.UI.Control)

CopyBaseAttributes (Inherited from System.Web.UI.WebControls.WebControl)

DataBind (Inherited from System.Web.UI.Control)

Dispose (Inherited from System.Web.UI.Control)

FindControl (Inherited from System.Web.UI.Control)

Focus (Inherited from System.Web.UI.Control)

GetPropertyValue Gets the property value by property name.

GetRouteUrl Overloaded. (Inherited from System.Web.UI.Control)

GetScriptDescriptors When overridden in a derived class, registers the WidgetDescriptor objects for the control.

GetScriptReferences When overridden in a derived class, registers an additional script libraries for the extender control.

GetUniqueIDRelativeTo (Inherited from System.Web.UI.Control)

HasControls (Inherited from System.Web.UI.Control)

MergeStyle (Inherited from System.Web.UI.WebControls.WebControl)

RegisterDesignTimeStyleSheet Register design time stylesheet

RenderBeginTag (Inherited from System.Web.UI.WebControls.WebControl)

34 Accordion for ASP.NET Web Forms

RenderControl (Inherited from System.Web.UI.Control)

RenderEndTag (Inherited from System.Web.UI.WebControls.WebControl)

ResolveClientUrl (Inherited from System.Web.UI.Control)

ResolveUrl (Inherited from System.Web.UI.Control)

SetPropertyValue Sets the property value by property name.

SetRenderMethodDelegate (Inherited from System.Web.UI.Control)

Top

Public Events

Name Description

DataBinding (Inherited from System.Web.UI.Control)

Disposed (Inherited from System.Web.UI.Control)

Init (Inherited from System.Web.UI.Control)

Load (Inherited from System.Web.UI.Control)

PreRender (Inherited from System.Web.UI.Control)

Unload (Inherited from System.Web.UI.Control)

Top

See Also

Reference

C1TargetControlBase Class C1.Web.Wijmo.Controls Namespace Methods For a list of all members of this type, see C1TargetControlBase members.

35 Accordion for ASP.NET Web Forms

Public Methods

Name Description

ApplyStyle (Inherited from System.Web.UI.WebControls.WebControl)

ApplyStyleSheetSkin (Inherited from System.Web.UI.Control)

CopyBaseAttributes (Inherited from System.Web.UI.WebControls.WebControl)

DataBind (Inherited from System.Web.UI.Control)

Dispose (Inherited from System.Web.UI.Control)

FindControl (Inherited from System.Web.UI.Control)

Focus (Inherited from System.Web.UI.Control)

GetPropertyValue Gets the property value by property name.

GetRouteUrl Overloaded. (Inherited from System.Web.UI.Control)

GetScriptDescriptors When overridden in a derived class, registers the WidgetDescriptor objects for the control.

GetScriptReferences When overridden in a derived class, registers an additional script libraries for the extender control.

GetUniqueIDRelativeTo (Inherited from System.Web.UI.Control)

HasControls (Inherited from System.Web.UI.Control)

MergeStyle (Inherited from System.Web.UI.WebControls.WebControl)

RegisterDesignTimeStyleSheet Register design time stylesheet

RenderBeginTag (Inherited from System.Web.UI.WebControls.WebControl)

36 Accordion for ASP.NET Web Forms

RenderControl (Inherited from System.Web.UI.Control)

RenderEndTag (Inherited from System.Web.UI.WebControls.WebControl)

ResolveClientUrl (Inherited from System.Web.UI.Control)

ResolveUrl (Inherited from System.Web.UI.Control)

SetPropertyValue Sets the property value by property name.

SetRenderMethodDelegate (Inherited from System.Web.UI.Control)

Top

See Also

Reference

C1TargetControlBase Class C1.Web.Wijmo.Controls Namespace

GetPropertyValue Method Gets the property value by property name.

Syntax

Visual Basic (Declaration)

Public Function GetPropertyValue(Of V)( _ ByVal propertyName As System.String, _ ByVal nullValue As V _ ) As V

C# public V GetPropertyValue( System.string propertyName, V nullValue ) Parameters propertyName

Name of the property.

37 Accordion for ASP.NET Web Forms

nullValue

The null value.

Type Parameters

V

See Also

Reference

C1TargetControlBase Class C1TargetControlBase Members

GetScriptDescriptors Method When overridden in a derived class, registers the WidgetDescriptor objects for the control.

Syntax

Visual Basic (Declaration)

Public Overridable Function GetScriptDescriptors() As System.Collections.Generic.IEnumerable(Of ScriptDescriptor)

C# public virtual System.Collections.Generic.IEnumerable GetScriptDescriptors() Return Value

An enumeration of WidgetDescriptor objects.

See Also

Reference

C1TargetControlBase Class C1TargetControlBase Members

GetScriptReferences Method When overridden in a derived class, registers an additional script libraries for the extender control.

Syntax

38 Accordion for ASP.NET Web Forms

Visual Basic (Declaration)

Public Overridable Function GetScriptReferences() As System.Collections.Generic.IEnumerable(Of ScriptReference)

C# public virtual System.Collections.Generic.IEnumerable GetScriptReferences() Return Value

An object that implements the System.Collections.IEnumerable interface and that contains ECMAScript (JavaScript) files that have been registered as embedded resources.

See Also

Reference

C1TargetControlBase Class C1TargetControlBase Members

RegisterDesignTimeStyleSheet Method The System.Web.UI.HtmlTextWriter object that receives the server control content. resource name of stylesheet file

Register design time stylesheet

Syntax

Visual Basic (Declaration)

Public Sub RegisterDesignTimeStyleSheet( _ ByVal writer As System.Web.UI.HtmlTextWriter, _ ByVal cssResourceName As System.String _ )

C# public void RegisterDesignTimeStyleSheet( System.Web.UI.HtmlTextWriter writer, System.string cssResourceName ) Parameters writer

39 Accordion for ASP.NET Web Forms

The System.Web.UI.HtmlTextWriter object that receives the server control content.

cssResourceName

resource name of stylesheet file

See Also

Reference

C1TargetControlBase Class C1TargetControlBase Members

SetPropertyValue Method Sets the property value by property name.

Syntax

Visual Basic (Declaration)

Public Sub SetPropertyValue(Of V)( _ ByVal propertyName As System.String, _ ByVal value As V _ )

C# public void SetPropertyValue( System.string propertyName, V value ) Parameters propertyName

Name of the property.

value

The value.

Type Parameters

V

See Also

Reference

40 Accordion for ASP.NET Web Forms

C1TargetControlBase Class C1TargetControlBase Members Properties For a list of all members of this type, see C1TargetControlBase members.

Public Properties

Name Description

AccessKey (Inherited from System.Web.UI.WebControls.WebControl)

AppRelativeTemplateSourceDirectory (Inherited from System.Web.UI.Control)

Attributes (Inherited from System.Web.UI.WebControls.WebControl)

CDNDependencyPaths A string array value specifies all css/js references that wijmo control depends on.

CDNPath Content Delivery Network path.

ClientID (Inherited from System.Web.UI.Control)

ClientIDMode (Inherited from System.Web.UI.Control)

Controls (Inherited from System.Web.UI.Control)

ControlStyle (Inherited from System.Web.UI.WebControls.WebControl)

ControlStyleCreated (Inherited from System.Web.UI.WebControls.WebControl)

CssClass (Inherited from System.Web.UI.WebControls.WebControl)

DisplayVisible Gets or sets a value that indicates whether a server

41 Accordion for ASP.NET Web Forms

control is rendered as UI on the page.

EnableCombinedJavaScripts Enable JavaScripts files combined into one file. In order to combined enabled, you must register the WijmoHttpHandler in web.config.

Enabled Overridden. Gets or sets a value indicating whether the Web server control is enabled.

EnableTheming (Inherited from System.Web.UI.WebControls.WebControl)

EnableViewState (Inherited from System.Web.UI.Control)

HasAttributes (Inherited from System.Web.UI.WebControls.WebControl)

Height (Inherited from System.Web.UI.WebControls.WebControl)

ID (Inherited from System.Web.UI.Control)

NamingContainer (Inherited from System.Web.UI.Control)

Page (Inherited from System.Web.UI.Control)

Parent (Inherited from System.Web.UI.Control)

RenderingCompatibility (Inherited from System.Web.UI.Control)

Site (Inherited from System.Web.UI.Control)

SkinID (Inherited from System.Web.UI.WebControls.WebControl)

Style (Inherited from System.Web.UI.WebControls.WebControl)

42 Accordion for ASP.NET Web Forms

SupportsDisabledAttribute (Inherited from System.Web.UI.WebControls.WebControl)

TabIndex (Inherited from System.Web.UI.WebControls.WebControl)

TemplateControl (Inherited from System.Web.UI.Control)

TemplateSourceDirectory (Inherited from System.Web.UI.Control)

Theme Name of the theme that will be used to style the widgets. Available embedded themes include: aristo, midnight, and ui-lightness. Note that only one theme can be used for the whole page at one time. Please make sure that all widget extenders have the same Theme value.

ThemeSwatch A value that indicates the theme swatch of the control, this property only works when WijmoControlMode property is Mobile.

ToolTip (Inherited from System.Web.UI.WebControls.WebControl)

UniqueID (Inherited from System.Web.UI.Control)

UseCDN Determines whether the widget extender must load client resources from CDN (Content Delivery Network) path given by property CDNPath.

ValidateRequestMode (Inherited from System.Web.UI.Control)

ViewStateMode (Inherited from System.Web.UI.Control)

Width (Inherited from System.Web.UI.WebControls.WebControl)

43 Accordion for ASP.NET Web Forms

WijmoControlMode A value that indicates mode of the control, whether it is a mobile or web control. Note that only one value can be used for the whole website or project.

WijmoCssAdapter Indicates the control applies the theme of JQuery UI or Bootstrap.

Top

See Also

Reference

C1TargetControlBase Class C1.Web.Wijmo.Controls Namespace

CDNDependencyPaths Property A string array value specifies all css/js references that wijmo control depends on.

Syntax

Visual Basic (Declaration)

Public Overridable Property CDNDependencyPaths As System.String()

C#

[C1Category("Behavior")] [System.ComponentModel.RefreshProperties(RefreshProperties.All)] [C1Description(Key="C1Base.CDNDependencyPaths", Description="A string array value specifies all css/js references that wijmo control depends on.")] [System.ComponentModel.DefaultValue()] [System.ComponentModel.DesignerSerializationVisibility(DesignerSerializat ionVisibility.Hidden)]

44 Accordion for ASP.NET Web Forms public virtual System.string[] CDNDependencyPaths {get; set;} Remarks

Using this property, user can specify the CDN dependencies(such as jQuery, jQuery UI, jQuery mobile, bootstrap). If some dependencies are set in this property, wijmo controls will find dependencies path in this property. If found, use the path to load dependency, otherwise, use the default CDN path. For example, if user wants to specify the dependencies of jQuery and jQuery UI, he can set the value like this: ["http://ajax.aspnetcdn.com/ajax/jQuery/jquery- 1.11.1.min.js", "http://ajax.aspnetcdn.com/ajax/jquery.ui/1.11.1/jquery-ui.js"]

See Also

Reference

C1TargetControlBase Class C1TargetControlBase Members

CDNPath Property Content Delivery Network path.

Syntax

Visual Basic (Declaration)

Public Overridable Property CDNPath As System.String

C#

[C1Category("Behavior")] [System.ComponentModel.RefreshProperties(RefreshProperties.All)] [C1Description(Key="C1Base.CDNPath", Description="Content Delivery Network path.")] [System.ComponentModel.DefaultValue()] [System.ComponentModel.DesignerSerializationVisibility(DesignerSerializat ionVisibility.Hidden)] public virtual System.string CDNPath {get; set;}

45 Accordion for ASP.NET Web Forms

See Also

Reference

C1TargetControlBase Class C1TargetControlBase Members

DisplayVisible Property Gets or sets a value that indicates whether a server control is rendered as UI on the page.

Syntax

Visual Basic (Declaration)

Public Property DisplayVisible As System.Boolean

C#

[System.ComponentModel.DefaultValue()] [WidgetOption()] [C1Description(Key="C1Controls.DisplayVisible", Description="Gets or sets a value that indicates whether a server control is rendered as UI on the page.")] [C1Category("Behavior")] [Layout(LayoutType.Behavior)] public System.bool DisplayVisible {get; set;} Remarks

Note that a server control is created and invisible if DisplayVisible is set to false.

See Also

Reference

C1TargetControlBase Class C1TargetControlBase Members

46 Accordion for ASP.NET Web Forms

EnableCombinedJavaScripts Property Enable JavaScripts files combined into one file. In order to combined enabled, you must register the WijmoHttpHandler in web.config.

Syntax

Visual Basic (Declaration)

Public Overridable Property EnableCombinedJavaScripts As System.Boolean

C#

[C1Description(Key="C1Base.EnableCombinedJavaScripts", Description="Enable JavaScripts files combined into one file.")] [System.ComponentModel.DesignerSerializationVisibility(DesignerSerializat ionVisibility.Hidden)] [C1Category("Behavior")] [System.ComponentModel.DefaultValue()] public virtual System.bool EnableCombinedJavaScripts {get; set;} See Also

Reference

C1TargetControlBase Class C1TargetControlBase Members

Enabled Property Gets or sets a value indicating whether the Web server control is enabled.

Syntax

Visual Basic (Declaration)

47 Accordion for ASP.NET Web Forms

Public Overrides Property Enabled As System.Boolean

C#

[WidgetOption()] [System.ComponentModel.DefaultValue()] [C1Description(Key="C1Base.Enabled", Description="Indicates whether control is enabled.")] [C1Category("Behavior")] public override System.bool Enabled {get; set;} Property Value true if control is enabled; otherwise, false. The default is true.

See Also

Reference

C1TargetControlBase Class C1TargetControlBase Members

Theme Property Name of the theme that will be used to style the widgets. Available embedded themes include: aristo, midnight, and ui-lightness. Note that only one theme can be used for the whole page at one time. Please make sure that all widget extenders have the same Theme value.

Syntax

Visual Basic (Declaration)

Public Overridable Property Theme As System.String

48 Accordion for ASP.NET Web Forms

C#

[TypeConverter("C1.Web.Wijmo.Controls.WijmoThemeNameConverter, C1.Web.Wijmo.Controls.4, Version=4.0.20151.207, Culture=neutral, PublicKeyToken=9b75583953471eea")] [System.ComponentModel.DesignerSerializationVisibility(DesignerSerializat ionVisibility.Hidden)] [C1Description(Key="C1Base.Theme", Description="Name of the theme that will be used to style widgets. Available themes: aristo / midnight / ui- lightness. Note, only one theme can be used for the whole page at one time. Please, make sure that all widget extenders have the same Theme value.")] [C1Category("Behavior")] [System.ComponentModel.DefaultValue()] [System.ComponentModel.RefreshProperties(RefreshProperties.All)] public virtual System.string Theme {get; set;} See Also

Reference

C1TargetControlBase Class C1TargetControlBase Members

ThemeSwatch Property A value that indicates the theme swatch of the control, this property only works when WijmoControlMode property is Mobile.

Syntax

Visual Basic (Declaration)

49 Accordion for ASP.NET Web Forms

Public Overridable Property ThemeSwatch As System.String

C#

[C1Category("Appearance")] [WidgetOption()] [System.ComponentModel.DesignerSerializationVisibility(DesignerSerializat ionVisibility.Hidden)] [System.ComponentModel.DefaultValue()] [C1Description(Key="C1Base.ThemeSwatch", Description="A value that indicates the theme swatch of the control, this property only works when WijmoControlMode property is Mobile.")] [TypeConverter("C1.Web.Wijmo.Controls.WijmoThemeSwatchConverter, C1.Web.Wijmo.Controls.4, Version=4.0.20151.207, Culture=neutral, PublicKeyToken=9b75583953471eea")] public virtual System.string ThemeSwatch {get; set;} See Also

Reference

C1TargetControlBase Class C1TargetControlBase Members

UseCDN Property Determines whether the widget extender must load client resources from CDN (Content Delivery Network) path given by property CDNPath.

Syntax

Visual Basic (Declaration)

Public Overridable Property UseCDN As System.Boolean

C#

[C1Description(Key="C1Base.UseCDN", Description="Determines whether this extender loads client script references from CDN.")]

50 Accordion for ASP.NET Web Forms

[System.ComponentModel.RefreshProperties(RefreshProperties.All)] [C1Category("Behavior")] [System.ComponentModel.DefaultValue()] [System.ComponentModel.DesignerSerializationVisibility(DesignerSerializat ionVisibility.Hidden)] public virtual System.bool UseCDN {get; set;} See Also

Reference

C1TargetControlBase Class C1TargetControlBase Members

WijmoControlMode Property A value that indicates mode of the control, whether it is a mobile or web control. Note that only one value can be used for the whole website or project.

Syntax

Visual Basic (Declaration)

Public Overridable Property WijmoControlMode As WijmoControlMode

C#

[C1Category("Behavior")] [C1Description(Key="C1Base.WijmoControlMode", Description="A value that indicates mode of the control, whether it is a mobile or web control. Note that only one value can be used for the whole website or project.")] [System.ComponentModel.DefaultValue()] [System.ComponentModel.RefreshProperties(RefreshProperties.All)] [System.ComponentModel.DesignerSerializationVisibility(DesignerSerializat ionVisibility.Hidden)] public virtual WijmoControlMode WijmoControlMode {get; set;} See Also

51 Accordion for ASP.NET Web Forms

Reference

C1TargetControlBase Class C1TargetControlBase Members

WijmoCssAdapter Property Indicates the control applies the theme of JQuery UI or Bootstrap.

Syntax

Visual Basic (Declaration)

Public Overridable Property WijmoCssAdapter As System.String

C#

[System.ComponentModel.RefreshProperties(RefreshProperties.All)] [C1Category("Behavior")] [C1Description(Key="C1Base.WijmoCssAdapter", Description="Indicates the control applies the theme of JQuery UI or Bootstrap.")] [System.ComponentModel.DefaultValue()] [TypeConverter("C1.Web.Wijmo.Controls.WijmoCssAdapterConverter, C1.Web.Wijmo.Controls.4, Version=4.0.20151.207, Culture=neutral, PublicKeyToken=9b75583953471eea")] [System.ComponentModel.DesignerSerializationVisibility(DesignerSerializat ionVisibility.Hidden)] public virtual System.string WijmoCssAdapter {get; set;} See Also

Reference

C1TargetControlBase Class C1TargetControlBase Members

52 Accordion for ASP.NET Web Forms

C1TargetControlHelper Object Model

Syntax

Visual Basic (Declaration)

Friend Class C1TargetControlHelper

C# internal class C1TargetControlHelper Inheritance Hierarchy

System.Object C1.Web.Wijmo.Controls.C1TargetControlHelper C1.Web.Wijmo.Controls.C1TargetControlHelper

See Also

Reference

C1TargetControlHelper Members C1.Web.Wijmo.Controls Namespace Overview Object Model

Syntax

Visual Basic (Declaration)

Friend Class C1TargetControlHelper

C# internal class C1TargetControlHelper Inheritance Hierarchy

53 Accordion for ASP.NET Web Forms

System.Object C1.Web.Wijmo.Controls.C1TargetControlHelper C1.Web.Wijmo.Controls.C1TargetControlHelper

See Also

Reference

C1TargetControlHelper Members C1.Web.Wijmo.Controls Namespace Members The following tables list the members exposed by C1TargetControlHelper.

Public Constructors

Name Description

C1TargetControlHelper Constructor

Top

Public Methods

Name Description

ResolveEmbeddedResourceUrl

Top

See Also

Reference

C1TargetControlHelper Class C1.Web.Wijmo.Controls Namespace C1TargetControlHelper Constructor Syntax

Visual Basic (Declaration)

Public Function New()

54 Accordion for ASP.NET Web Forms

C# public C1TargetControlHelper() See Also

Reference

C1TargetControlHelper Class C1TargetControlHelper Members Methods For a list of all members of this type, see C1TargetControlHelper members.

Public Methods

Name Description

ResolveEmbeddedResourceUrl

Top

See Also

Reference

C1TargetControlHelper Class C1.Web.Wijmo.Controls Namespace

ResolveEmbeddedResourceUrl Method Syntax

Visual Basic (Declaration)

Public Shared Function ResolveEmbeddedResourceUrl( _ ByVal resourceName As System.String, _ ByVal page As System.Web.UI.Page, _ ByVal combinedScript As System.Boolean _ ) As System.String

C# public static System.string ResolveEmbeddedResourceUrl( System.string resourceName, System.Web.UI.Page page,

55 Accordion for ASP.NET Web Forms

System.bool combinedScript ) Parameters resourceName

page

combinedScript

See Also

Reference

C1TargetControlHelper Class C1TargetControlHelper Members C1TargetControlHelper Object Model

Syntax

Visual Basic (Declaration)

Friend Class C1TargetControlHelper(Of T As {System.Web.UI.WebControls.WebControl, IC1TargetControl}) Inherits C1TargetControlHelper

C# internal class C1TargetControlHelper : C1TargetControlHelper where T: System.Web.UI.WebControls.WebControl, IC1TargetControl Type Parameters

T

Inheritance Hierarchy

System.Object C1.Web.Wijmo.Controls.C1TargetControlHelper C1.Web.Wijmo.Controls.C1TargetControlHelper

56 Accordion for ASP.NET Web Forms

See Also

Reference

C1TargetControlHelper Members C1.Web.Wijmo.Controls Namespace Overview Object Model

Syntax

Visual Basic (Declaration)

Friend Class C1TargetControlHelper(Of T As {System.Web.UI.WebControls.WebControl, IC1TargetControl}) Inherits C1TargetControlHelper

C# internal class C1TargetControlHelper : C1TargetControlHelper where T: System.Web.UI.WebControls.WebControl, IC1TargetControl Type Parameters

T

Inheritance Hierarchy

System.Object C1.Web.Wijmo.Controls.C1TargetControlHelper C1.Web.Wijmo.Controls.C1TargetControlHelper

See Also

Reference

C1TargetControlHelper Members C1.Web.Wijmo.Controls Namespace Members The following tables list the members exposed by C1TargetControlHelper.

57 Accordion for ASP.NET Web Forms

Public Constructors

Name Description

C1TargetControlHelper Constructor

Top

Public Properties

Name Description

Control

JsonSerializableHelper

Page

ScriptManager

Top

Public Methods

Name Description

EnsureEnabledState

GetScriptDescriptors Overloaded. When overridden in a derived class, registers the WidgetDescriptor objects for the control.

RegisterDesignTimeStyleSheet Register design-time CSS stylesheet.

RegisterDesignTimeStyleSheets

RegisterIncludes

RegisterOnSubmitStatement

58 Accordion for ASP.NET Web Forms

RegisterRunTimeStylesheets

RegisterScriptDescriptors

RegisterScriptDescriptorsWithoutScriptManager

RegisterScriptDescriptorsWithScriptManager

RenderJsonDataField

ShowAbout Show about message box.

Top

See Also

Reference

C1TargetControlHelper Class C1.Web.Wijmo.Controls Namespace C1TargetControlHelper Constructor Syntax

Visual Basic (Declaration)

Public Function New( _ ByVal control As T _ )

C# public C1TargetControlHelper( T control ) Parameters control

See Also

Reference

59 Accordion for ASP.NET Web Forms

C1TargetControlHelper Class C1TargetControlHelper Members Methods For a list of all members of this type, see C1TargetControlHelper members.

Public Methods

Name Description

EnsureEnabledState

GetScriptDescriptors Overloaded. When overridden in a derived class, registers the WidgetDescriptor objects for the control.

RegisterDesignTimeStyleSheet Register design-time CSS stylesheet.

RegisterDesignTimeStyleSheets

RegisterIncludes

RegisterOnSubmitStatement

RegisterRunTimeStylesheets

RegisterScriptDescriptors

RegisterScriptDescriptorsWithoutScriptManager

RegisterScriptDescriptorsWithScriptManager

RenderJsonDataField

ShowAbout Show about message box.

Top

See Also

Reference

60 Accordion for ASP.NET Web Forms

C1TargetControlHelper Class C1.Web.Wijmo.Controls Namespace

EnsureEnabledState Method Syntax

Visual Basic (Declaration)

Public Sub EnsureEnabledState()

C# public void EnsureEnabledState() See Also

Reference

C1TargetControlHelper Class C1TargetControlHelper Members

GetScriptDescriptors Method When overridden in a derived class, registers the WidgetDescriptor objects for the control.

Overload List

Overload Description

GetScriptDescriptors() When overridden in a derived class, registers the WidgetDescriptor objects for the control.

GetScriptDescriptors(String) When overridden in a derived class, registers the WidgetDescriptor objects for the control.

See Also

Reference

C1TargetControlHelper Class C1TargetControlHelper Members

GetScriptDescriptors() Method When overridden in a derived class, registers the WidgetDescriptor objects for the control.

Syntax

61 Accordion for ASP.NET Web Forms

Visual Basic (Declaration)

Public Overloads Function GetScriptDescriptors() As System.Collections.Generic.IEnumerable(Of ScriptDescriptor)

C# public System.Collections.Generic.IEnumerable GetScriptDescriptors() Return Value

An enumeration of WidgetDescriptor objects.

See Also

Reference

C1TargetControlHelper Class C1TargetControlHelper Members Overload List

GetScriptDescriptors(String) Method When overridden in a derived class, registers the WidgetDescriptor objects for the control.

Syntax

Visual Basic (Declaration)

Public Overloads Function GetScriptDescriptors( _ ByVal targetSelector As System.String _ ) As System.Collections.Generic.IEnumerable(Of ScriptDescriptor)

C# public System.Collections.Generic.IEnumerable GetScriptDescriptors( System.string targetSelector ) Parameters targetSelector

The target selector.

Return Value

62 Accordion for ASP.NET Web Forms

An enumeration of WidgetDescriptor objects.

See Also

Reference

C1TargetControlHelper Class C1TargetControlHelper Members Overload List

RegisterDesignTimeStyleSheet Method Register design-time CSS stylesheet.

Syntax

Visual Basic (Declaration)

Public Sub RegisterDesignTimeStyleSheet( _ ByVal writer As System.Web.UI.HtmlTextWriter, _ ByVal cssResourceName As System.String _ )

C# public void RegisterDesignTimeStyleSheet( System.Web.UI.HtmlTextWriter writer, System.string cssResourceName ) Parameters writer

cssResourceName

CSS resource name.

Remarks

The cssResourceName is the link to an resource element.

See Also

Reference

C1TargetControlHelper Class C1TargetControlHelper Members

63 Accordion for ASP.NET Web Forms

RegisterDesignTimeStyleSheets Method Syntax

Visual Basic (Declaration)

Public Sub RegisterDesignTimeStyleSheets( _ ByVal writer As System.Web.UI.HtmlTextWriter _ )

C# public void RegisterDesignTimeStyleSheets( System.Web.UI.HtmlTextWriter writer ) Parameters writer

See Also

Reference

C1TargetControlHelper Class C1TargetControlHelper Members

RegisterIncludes Method Syntax

Visual Basic (Declaration)

Public Sub RegisterIncludes()

C# public void RegisterIncludes() See Also

Reference

C1TargetControlHelper Class C1TargetControlHelper Members

RegisterOnSubmitStatement Method Syntax

64 Accordion for ASP.NET Web Forms

Visual Basic (Declaration)

Public Sub RegisterOnSubmitStatement( _ Optional ByVal callback As System.String _ )

C# public void RegisterOnSubmitStatement( System.string callback ) Parameters callback

See Also

Reference

C1TargetControlHelper Class C1TargetControlHelper Members

RegisterRunTimeStylesheets Method Syntax

Visual Basic (Declaration)

Public Sub RegisterRunTimeStylesheets()

C# public void RegisterRunTimeStylesheets() See Also

Reference

C1TargetControlHelper Class C1TargetControlHelper Members

RegisterScriptDescriptors Method Syntax

Visual Basic (Declaration)

65 Accordion for ASP.NET Web Forms

Public Sub RegisterScriptDescriptors()

C# public void RegisterScriptDescriptors() See Also

Reference

C1TargetControlHelper Class C1TargetControlHelper Members

RegisterScriptDescriptorsWithoutScriptManager Method Syntax

Visual Basic (Declaration)

Public Sub RegisterScriptDescriptorsWithoutScriptManager()

C# public void RegisterScriptDescriptorsWithoutScriptManager() See Also

Reference

C1TargetControlHelper Class C1TargetControlHelper Members

RegisterScriptDescriptorsWithScriptManager Method Syntax

Visual Basic (Declaration)

Public Sub RegisterScriptDescriptorsWithScriptManager()

C# public void RegisterScriptDescriptorsWithScriptManager() See Also

Reference

66 Accordion for ASP.NET Web Forms

C1TargetControlHelper Class C1TargetControlHelper Members

RenderJsonDataField Method Syntax

Visual Basic (Declaration)

Public Sub RenderJsonDataField( _ ByVal writer As System.Web.UI.HtmlTextWriter _ )

C# public void RenderJsonDataField( System.Web.UI.HtmlTextWriter writer ) Parameters writer

See Also

Reference

C1TargetControlHelper Class C1TargetControlHelper Members

ShowAbout Method Show about message box.

Syntax

Visual Basic (Declaration)

Public Sub ShowAbout()

C# public void ShowAbout() See Also

Reference

67 Accordion for ASP.NET Web Forms

C1TargetControlHelper Class C1TargetControlHelper Members Properties For a list of all members of this type, see C1TargetControlHelper members.

Public Properties

Name Description

Control

JsonSerializableHelper

Page

ScriptManager

Top

See Also

Reference

C1TargetControlHelper Class C1.Web.Wijmo.Controls Namespace

Control Property Syntax

Visual Basic (Declaration)

Public ReadOnly Property Control As T

C# public T Control {get;} See Also

Reference

C1TargetControlHelper Class C1TargetControlHelper Members

68 Accordion for ASP.NET Web Forms

JsonSerializableHelper Property Syntax

Visual Basic (Declaration)

Public ReadOnly Property JsonSerializableHelper As JsonSerializableHelper

C# public JsonSerializableHelper JsonSerializableHelper {get;} See Also

Reference

C1TargetControlHelper Class C1TargetControlHelper Members

Page Property Syntax

Visual Basic (Declaration)

Public ReadOnly Property Page As System.Web.UI.Page

C# public System.Web.UI.Page Page {get;} See Also

Reference

C1TargetControlHelper Class C1TargetControlHelper Members

ScriptManager Property Syntax

Visual Basic (Declaration)

Public ReadOnly Property ScriptManager As System.Web.UI.ScriptManager

C#

69 Accordion for ASP.NET Web Forms public System.Web.UI.ScriptManager ScriptManager {get;} See Also

Reference

C1TargetControlHelper Class C1TargetControlHelper Members WijChartNavigator Object Model

Syntax

Visual Basic (Declaration)

Friend Class WijChartNavigator Inherits WijChartCore

C#

[WidgetDependencies(System.Object[])] internal class WijChartNavigator : WijChartCore Inheritance Hierarchy

System.Object C1.Web.Wijmo.Controls.WijChartNavigator

See Also

Reference

WijChartNavigator Members C1.Web.Wijmo.Controls Namespace Overview Object Model

Syntax

70 Accordion for ASP.NET Web Forms

Visual Basic (Declaration)

Friend Class WijChartNavigator Inherits WijChartCore

C#

[WidgetDependencies(System.Object[])] internal class WijChartNavigator : WijChartCore Inheritance Hierarchy

System.Object C1.Web.Wijmo.Controls.WijChartNavigator

See Also

Reference

WijChartNavigator Members C1.Web.Wijmo.Controls Namespace Members The following tables list the members exposed by WijChartNavigator.

Public Constructors

Name Description

WijChartNavigator Constructor

Top

See Also

Reference

WijChartNavigator Class C1.Web.Wijmo.Controls Namespace WijChartNavigator Constructor Syntax

71 Accordion for ASP.NET Web Forms

Visual Basic (Declaration)

Public Function New()

C# public WijChartNavigator() See Also

Reference

WijChartNavigator Class WijChartNavigator Members C1.Web.Wijmo.Controls.C1Accordion Namespace Overview Classes

Class Description

C1Accordion The Accordion is a web control that allows you to provide multiple panes and display them one at a time.

C1AccordionPane The AccordionPane control is an expandable pane containing a header or title for information to be displayed in its accordion or viewing area.

C1AccordionPaneCollection Represents a collection of AccordionPane objects that are used by the Panes property.

C1AccordionPaneContentContainer Holds the content for the panes in the C1Accordion control.

C1AccordionPaneHeaderContainer Holds the content for the pane's header in the C1Accordion control.

72 Accordion for ASP.NET Web Forms

C1AccordionSerializer Serializes the Accordion Control.

Enumerations

Enumeration Description

ExpandDirection Use the members of this enumeration to set the value of the ExpandDirection property in the C1Accordion class. This enumeration specifies different expand directions (top, right, bottom, and left) for the C1Accordion control.

See Also

Reference

C1.Web.Wijmo.Controls.4 Assembly Classes C1Accordion The Accordion is a web control that allows you to provide multiple panes and display them one at a time.

Object Model

Syntax

Visual Basic (Declaration)

73 Accordion for ASP.NET Web Forms runat=server>")> Public Class C1Accordion Inherits C1.Web.Wijmo.Controls.Base.C1TargetDataBoundControlBase

C#

[System.Drawing.ToolboxBitmap()] [System.ComponentModel.Designer(DesignerBaseTypeName="System.ComponentMod el.Design.IDesigner", DesignerTypeName="C1.Web.Wijmo.Controls.Design.C1Accordion.C1AccordionDes igner, C1.Web.Wijmo.Controls.Design.4, Version=4.0.20151.207, Culture=neutral, PublicKeyToken=9b75583953471eea")] [System.ComponentModel.LicenseProvider()] [WidgetDependencies(System.Object[])] [System.Web.UI.ParseChildren(true)] [System.Web.UI.ToolboxData("<{0}:C1Accordion runat=server>")] public class C1Accordion : C1.Web.Wijmo.Controls.Base.C1TargetDataBoundControlBase Inheritance Hierarchy

System.Object System.Web.UI.Control System.Web.UI.WebControls.WebControl System.Web.UI.WebControls.BaseDataBoundControl System.Web.UI.WebControls.DataBoundControl C1.Web.Wijmo.Controls.C1Accordion.C1Accordion

See Also

Reference

C1Accordion Members C1.Web.Wijmo.Controls.C1Accordion Namespace Overview The Accordion is a web control that allows you to provide multiple panes and display them one at a time.

Object Model

Syntax

74 Accordion for ASP.NET Web Forms

Visual Basic (Declaration)

")> Public Class C1Accordion Inherits C1.Web.Wijmo.Controls.Base.C1TargetDataBoundControlBase

C#

[System.Drawing.ToolboxBitmap()] [System.ComponentModel.Designer(DesignerBaseTypeName="System.ComponentMod el.Design.IDesigner", DesignerTypeName="C1.Web.Wijmo.Controls.Design.C1Accordion.C1AccordionDes igner, C1.Web.Wijmo.Controls.Design.4, Version=4.0.20151.207, Culture=neutral, PublicKeyToken=9b75583953471eea")] [System.ComponentModel.LicenseProvider()] [WidgetDependencies(System.Object[])] [System.Web.UI.ParseChildren(true)] [System.Web.UI.ToolboxData("<{0}:C1Accordion runat=server>")] public class C1Accordion : C1.Web.Wijmo.Controls.Base.C1TargetDataBoundControlBase Inheritance Hierarchy

System.Object System.Web.UI.Control System.Web.UI.WebControls.WebControl System.Web.UI.WebControls.BaseDataBoundControl System.Web.UI.WebControls.DataBoundControl C1.Web.Wijmo.Controls.C1Accordion.C1Accordion

See Also

Reference

75 Accordion for ASP.NET Web Forms

C1Accordion Members C1.Web.Wijmo.Controls.C1Accordion Namespace Members The following tables list the members exposed by C1Accordion.

Public Constructors

Name Description

C1Accordion Constructor Initializes a new instance of the C1Accordion class.

Top

Public Properties

Name Description

AccessKey Overridden. Gets or sets the access key that allows you to quickly navigate to the Web server control.

Animated Determines the animation easing effect; set this option to false in order to disable animation. Additional options that are available for the animation function include: expand - value of true indicates that content element must be expanded. horizontal - value of true indicates that expander is horizontally orientated (when expandDirection is left or right). content - jQuery object that contains content element to be expanded or collapsed.

AppRelativeTemplateSourceDirectory (Inherited from System.Web.UI.Control)

Attributes (Inherited from System.Web.UI.WebControls.WebControl)

AutoPostBack Sets or retrieves a value that indicates whether or not the control posts back to the server each time a user interacts with the control.

76 Accordion for ASP.NET Web Forms

ClientID (Inherited from System.Web.UI.Control)

ClientIDMode (Inherited from System.Web.UI.Control)

ContentField Gets or sets the name of the field from the data source to bind to the panes content.

Controls (Inherited from System.Web.UI.Control)

ControlStyle (Inherited from System.Web.UI.WebControls.WebControl)

ControlStyleCreated (Inherited from System.Web.UI.WebControls.WebControl)

CssClass (Inherited from System.Web.UI.WebControls.WebControl)

DataMember Overridden. Gets or sets the name of the list of data that the data-bound control binds to, in cases where the data source contains more than one distinct list of data items.

DataSource (Inherited from System.Web.UI.WebControls.BaseDataBoundControl )

DataSourceID Overridden. Gets or sets the ID of the control from which the data-bound control retrieves its list of data items.

DataSourceObject (Inherited from System.Web.UI.WebControls.DataBoundControl)

Enabled Overridden. Gets or sets a value indicating whether the Web server control is enabled.

77 Accordion for ASP.NET Web Forms

EnableTheming (Inherited from System.Web.UI.WebControls.WebControl)

EnableViewState (Inherited from System.Web.UI.Control)

Event Determines the event that triggers the accordion.

ExpandDirection Determines the content expand direction. Available values are top, right, bottom, and left.

HasAttributes (Inherited from System.Web.UI.WebControls.WebControl)

Header Selector for the header element. By using this option you can put header/content elements inside LI tags or into any other more complex html markup.

HeaderField Gets or sets the name of the field from the data source to bind to the panes header.

Height (Inherited from System.Web.UI.WebControls.WebControl)

ID (Inherited from System.Web.UI.Control)

ItemType (Inherited from System.Web.UI.WebControls.DataBoundControl)

NamingContainer (Inherited from System.Web.UI.Control)

OnClientBeforeSelectedIndexChange Occurs before an active accordion pane changes.

d The event is cancelable.

OnClientSelectedIndexChanged Occurs when an active accordion pane changed.

Page (Inherited from System.Web.UI.Control)

Panes Collection of child panes in the accordion.

78 Accordion for ASP.NET Web Forms

Parent (Inherited from System.Web.UI.Control)

RenderingCompatibility (Inherited from System.Web.UI.Control)

RequireOpenedPane Determines whether clicking the header will close the currently opened pane (leaving all the accordion's panes closed).

SelectedIndex Gets or sets the index of the currently expanded accordion pane.

SelectedPane Gets or sets the selected pane in the accordion.

SelectMethod (Inherited from System.Web.UI.WebControls.DataBoundControl)

Site (Inherited from System.Web.UI.Control)

SkinID (Inherited from System.Web.UI.WebControls.WebControl)

Style (Inherited from System.Web.UI.WebControls.WebControl)

SupportsDisabledAttribute (Inherited from System.Web.UI.WebControls.BaseDataBoundControl )

TabIndex (Inherited from System.Web.UI.WebControls.WebControl)

TemplateControl (Inherited from System.Web.UI.Control)

TemplateSourceDirectory (Inherited from System.Web.UI.Control)

ToolTip (Inherited from System.Web.UI.WebControls.WebControl)

79 Accordion for ASP.NET Web Forms

UniqueID (Inherited from System.Web.UI.Control)

ValidateRequestMode (Inherited from System.Web.UI.Control)

ViewStateMode (Inherited from System.Web.UI.Control)

Width (Inherited from System.Web.UI.WebControls.WebControl)

Top

Public Methods

Name Description

ApplyStyle (Inherited from System.Web.UI.WebControls.WebControl)

ApplyStyleSheetSkin (Inherited from System.Web.UI.Control)

CopyBaseAttributes (Inherited from System.Web.UI.WebControls.WebControl)

DataBind Overridden. This method overrides the generic DataBind method to bind the related data to the control.

Dispose (Inherited from System.Web.UI.Control)

FindControl (Inherited from System.Web.UI.Control)

Focus (Inherited from System.Web.UI.Control)

GetRouteUrl Overloaded. (Inherited from System.Web.UI.Control)

GetUniqueIDRelativeTo (Inherited from System.Web.UI.Control)

HasControls (Inherited from System.Web.UI.Control)

LoadLayout Overloaded. Loads control layout properties from the file.

LoadPostData When implemented by a class, processes postback data for

80 Accordion for ASP.NET Web Forms

an ASP.NET server control.

MergeStyle (Inherited from System.Web.UI.WebControls.WebControl)

RaisePostBackEvent Process an event raised when a form is posted to the server.

RaisePostDataChangedEvent When implemented by a class, signals the server control to notify the ASP.NET application that the state of the control has changed.

RecreateChildControls Recreates child controls.

RenderBeginTag (Inherited from System.Web.UI.WebControls.WebControl)

RenderControl (Inherited from System.Web.UI.Control)

RenderEndTag (Inherited from System.Web.UI.WebControls.WebControl)

ResolveClientUrl (Inherited from System.Web.UI.Control)

ResolveUrl (Inherited from System.Web.UI.Control)

SaveLayout Overloaded. Saves the control layout properties to the file.

SetRenderMethodDelegate (Inherited from System.Web.UI.Control)

Top

Public Events

Name Description

CallingDataMethods (Inherited from System.Web.UI.WebControls.DataBoundControl)

CreatingModelDataSource (Inherited from System.Web.UI.WebControls.DataBoundControl)

DataBinding (Inherited from System.Web.UI.Control)

DataBound (Inherited from

81 Accordion for ASP.NET Web Forms

System.Web.UI.WebControls.BaseDataBoundControl)

Disposed (Inherited from System.Web.UI.Control)

Init (Inherited from System.Web.UI.Control)

Load (Inherited from System.Web.UI.Control)

PreRender (Inherited from System.Web.UI.Control)

SelectedIndexChanged Raised during postback when the selected index changed.

Unload (Inherited from System.Web.UI.Control)

Top

See Also

Reference

C1Accordion Class C1.Web.Wijmo.Controls.C1Accordion Namespace C1Accordion Constructor Initializes a new instance of the C1Accordion class.

Syntax

Visual Basic (Declaration)

Public Function New()

C# public C1Accordion() See Also

Reference

C1Accordion Class C1Accordion Members

82 Accordion for ASP.NET Web Forms

Methods For a list of all members of this type, see C1Accordion members.

Public Methods

Name Description

ApplyStyle (Inherited from System.Web.UI.WebControls.WebControl)

ApplyStyleSheetSkin (Inherited from System.Web.UI.Control)

CopyBaseAttributes (Inherited from System.Web.UI.WebControls.WebControl)

DataBind Overridden. This method overrides the generic DataBind method to bind the related data to the control.

Dispose (Inherited from System.Web.UI.Control)

FindControl (Inherited from System.Web.UI.Control)

Focus (Inherited from System.Web.UI.Control)

GetRouteUrl Overloaded. (Inherited from System.Web.UI.Control)

GetUniqueIDRelativeTo (Inherited from System.Web.UI.Control)

HasControls (Inherited from System.Web.UI.Control)

LoadLayout Overloaded. Loads control layout properties from the file.

LoadPostData When implemented by a class, processes postback data for an ASP.NET server control.

MergeStyle (Inherited from System.Web.UI.WebControls.WebControl)

RaisePostBackEvent Process an event raised when a form is posted to the server.

RaisePostDataChangedEvent When implemented by a class, signals the server control to notify the ASP.NET application that the state of the control

83 Accordion for ASP.NET Web Forms

has changed.

RecreateChildControls Recreates child controls.

RenderBeginTag (Inherited from System.Web.UI.WebControls.WebControl)

RenderControl (Inherited from System.Web.UI.Control)

RenderEndTag (Inherited from System.Web.UI.WebControls.WebControl)

ResolveClientUrl (Inherited from System.Web.UI.Control)

ResolveUrl (Inherited from System.Web.UI.Control)

SaveLayout Overloaded. Saves the control layout properties to the file.

SetRenderMethodDelegate (Inherited from System.Web.UI.Control)

Top

See Also

Reference

C1Accordion Class C1.Web.Wijmo.Controls.C1Accordion Namespace

DataBind Method This method overrides the generic DataBind method to bind the related data to the control.

Syntax

Visual Basic (Declaration)

Public Overrides NotOverridable Sub DataBind()

C# public override void DataBind() See Also

Reference

84 Accordion for ASP.NET Web Forms

C1Accordion Class C1Accordion Members

LoadLayout Method Loads control layout properties from the file.

Overload List

Overload Description

LoadLayout(String) Loads control layout properties from the file.

LoadLayout(Stream) Load control layout properties from the stream.

LoadLayout(String,LayoutType) Loads control layout properties with specified types from the file.

LoadLayout(Stream,LayoutType) Loads the control layout properties with specified types from the stream.

See Also

Reference

C1Accordion Class C1Accordion Members

LoadLayout(String) Method Loads control layout properties from the file.

Syntax

Visual Basic (Declaration)

Public Overloads Sub LoadLayout( _ ByVal filename As System.String _ )

C# public void LoadLayout( System.string filename )

85 Accordion for ASP.NET Web Forms

Parameters filename

The file where the values of layout properties will be loaded.

See Also

Reference

C1Accordion Class C1Accordion Members Overload List

LoadLayout(Stream) Method Load control layout properties from the stream.

Syntax

Visual Basic (Declaration)

Public Overloads Sub LoadLayout( _ ByVal stream As System.IO.Stream _ )

C# public void LoadLayout( System.IO.Stream stream ) Parameters stream

The stream where the values of layout properties will be loaded.

See Also

Reference

C1Accordion Class C1Accordion Members Overload List

LoadLayout(String,LayoutType) Method The file where the values of layout properties will be loaded.

The layout types to load.

86 Accordion for ASP.NET Web Forms

Loads control layout properties with specified types from the file.

Syntax

Visual Basic (Declaration)

Public Overloads Sub LoadLayout( _ ByVal filename As System.String, _ ByVal layoutTypes As LayoutType _ )

C# public void LoadLayout( System.string filename, LayoutType layoutTypes ) Parameters filename

The file where the values of layout properties will be loaded.

layoutTypes

The layout types to load.

See Also

Reference

C1Accordion Class C1Accordion Members Overload List

LoadLayout(Stream,LayoutType) Method The stream where the values of the layout properties will be loaded.

The layout types to load.

Loads the control layout properties with specified types from the stream.

Syntax

Visual Basic (Declaration)

Public Overloads Sub LoadLayout( _

87 Accordion for ASP.NET Web Forms

ByVal stream As System.IO.Stream, _ ByVal layoutTypes As LayoutType _ )

C# public void LoadLayout( System.IO.Stream stream, LayoutType layoutTypes ) Parameters stream

The stream where the values of the layout properties will be loaded.

layoutTypes

The layout types to load.

See Also

Reference

C1Accordion Class C1Accordion Members Overload List

LoadPostData Method The key identifier for the control.

The collection of all incoming name values.

When implemented by a class, processes postback data for an ASP.NET server control.

Syntax

Visual Basic (Declaration)

Public Function LoadPostData( _ ByVal postDataKey As System.String, _ ByVal postCollection As System.Collections.Specialized.NameValueCollection _ ) As System.Boolean

C#

88 Accordion for ASP.NET Web Forms public System.bool LoadPostData( System.string postDataKey, System.Collections.Specialized.NameValueCollection postCollection ) Parameters postDataKey

The key identifier for the control.

postCollection

The collection of all incoming name values.

Return Value

true if the server control's state changes as a result of the postback; otherwise, false.

See Also

Reference

C1Accordion Class C1Accordion Members

RaisePostBackEvent Method A System.String that represents an optional event argument to be passed to the event handler.

Process an event raised when a form is posted to the server.

Syntax

Visual Basic (Declaration)

Public Sub RaisePostBackEvent( _ ByVal eventArgument As System.String _ )

C# public void RaisePostBackEvent( System.string eventArgument ) Parameters eventArgument

89 Accordion for ASP.NET Web Forms

A System.String that represents an optional event argument to be passed to the event handler.

See Also

Reference

C1Accordion Class C1Accordion Members

RaisePostDataChangedEvent Method When implemented by a class, signals the server control to notify the ASP.NET application that the state of the control has changed.

Syntax

Visual Basic (Declaration)

Public Sub RaisePostDataChangedEvent()

C# public void RaisePostDataChangedEvent() See Also

Reference

C1Accordion Class C1Accordion Members

RecreateChildControls Method Recreates child controls.

Syntax

Visual Basic (Declaration)

Public Sub RecreateChildControls()

C# public void RecreateChildControls() See Also

Reference

90 Accordion for ASP.NET Web Forms

C1Accordion Class C1Accordion Members

SaveLayout Method Saves the control layout properties to the file.

Overload List

Overload Description

SaveLayout(String) Saves the control layout properties to the file.

SaveLayout(Stream) Saves control layout properties to the stream.

See Also

Reference

C1Accordion Class C1Accordion Members

SaveLayout(String) Method Saves the control layout properties to the file.

Syntax

Visual Basic (Declaration)

Public Overloads Sub SaveLayout( _ ByVal filename As System.String _ )

C# public void SaveLayout( System.string filename ) Parameters filename

The file where the values of the layout properties will be saved.

See Also

91 Accordion for ASP.NET Web Forms

Reference

C1Accordion Class C1Accordion Members Overload List

SaveLayout(Stream) Method Saves control layout properties to the stream.

Syntax

Visual Basic (Declaration)

Public Overloads Sub SaveLayout( _ ByVal stream As System.IO.Stream _ )

C# public void SaveLayout( System.IO.Stream stream ) Parameters stream

The stream where the values of layout properties will be saved.

See Also

Reference

C1Accordion Class C1Accordion Members Overload List Properties For a list of all members of this type, see C1Accordion members.

Public Properties

Name Description

AccessKey Overridden. Gets or sets the access key that allows

92 Accordion for ASP.NET Web Forms

you to quickly navigate to the Web server control.

Animated Determines the animation easing effect; set this option to false in order to disable animation. Additional options that are available for the animation function include: expand - value of true indicates that content element must be expanded. horizontal - value of true indicates that expander is horizontally orientated (when expandDirection is left or right). content - jQuery object that contains content element to be expanded or collapsed.

AppRelativeTemplateSourceDirectory (Inherited from System.Web.UI.Control)

Attributes (Inherited from System.Web.UI.WebControls.WebControl)

AutoPostBack Sets or retrieves a value that indicates whether or not the control posts back to the server each time a user interacts with the control.

ClientID (Inherited from System.Web.UI.Control)

ClientIDMode (Inherited from System.Web.UI.Control)

ContentField Gets or sets the name of the field from the data source to bind to the panes content.

Controls (Inherited from System.Web.UI.Control)

ControlStyle (Inherited from System.Web.UI.WebControls.WebControl)

ControlStyleCreated (Inherited from System.Web.UI.WebControls.WebControl)

CssClass (Inherited from

93 Accordion for ASP.NET Web Forms

System.Web.UI.WebControls.WebControl)

DataMember Overridden. Gets or sets the name of the list of data that the data-bound control binds to, in cases where the data source contains more than one distinct list of data items.

DataSource (Inherited from System.Web.UI.WebControls.BaseDataBoundControl )

DataSourceID Overridden. Gets or sets the ID of the control from which the data-bound control retrieves its list of data items.

DataSourceObject (Inherited from System.Web.UI.WebControls.DataBoundControl)

Enabled Overridden. Gets or sets a value indicating whether the Web server control is enabled.

EnableTheming (Inherited from System.Web.UI.WebControls.WebControl)

EnableViewState (Inherited from System.Web.UI.Control)

Event Determines the event that triggers the accordion.

ExpandDirection Determines the content expand direction. Available values are top, right, bottom, and left.

HasAttributes (Inherited from System.Web.UI.WebControls.WebControl)

Header Selector for the header element. By using this option you can put header/content elements inside LI tags or into any other more complex html markup.

94 Accordion for ASP.NET Web Forms

HeaderField Gets or sets the name of the field from the data source to bind to the panes header.

Height (Inherited from System.Web.UI.WebControls.WebControl)

ID (Inherited from System.Web.UI.Control)

ItemType (Inherited from System.Web.UI.WebControls.DataBoundControl)

NamingContainer (Inherited from System.Web.UI.Control)

OnClientBeforeSelectedIndexChange Occurs before an active accordion pane changes.

d The event is cancelable.

OnClientSelectedIndexChanged Occurs when an active accordion pane changed.

Page (Inherited from System.Web.UI.Control)

Panes Collection of child panes in the accordion.

Parent (Inherited from System.Web.UI.Control)

RenderingCompatibility (Inherited from System.Web.UI.Control)

RequireOpenedPane Determines whether clicking the header will close the currently opened pane (leaving all the accordion's panes closed).

SelectedIndex Gets or sets the index of the currently expanded accordion pane.

SelectedPane Gets or sets the selected pane in the accordion.

SelectMethod (Inherited from System.Web.UI.WebControls.DataBoundControl)

95 Accordion for ASP.NET Web Forms

Site (Inherited from System.Web.UI.Control)

SkinID (Inherited from System.Web.UI.WebControls.WebControl)

Style (Inherited from System.Web.UI.WebControls.WebControl)

SupportsDisabledAttribute (Inherited from System.Web.UI.WebControls.BaseDataBoundControl )

TabIndex (Inherited from System.Web.UI.WebControls.WebControl)

TemplateControl (Inherited from System.Web.UI.Control)

TemplateSourceDirectory (Inherited from System.Web.UI.Control)

ToolTip (Inherited from System.Web.UI.WebControls.WebControl)

UniqueID (Inherited from System.Web.UI.Control)

ValidateRequestMode (Inherited from System.Web.UI.Control)

ViewStateMode (Inherited from System.Web.UI.Control)

Width (Inherited from System.Web.UI.WebControls.WebControl)

Top

See Also

Reference

C1Accordion Class C1.Web.Wijmo.Controls.C1Accordion Namespace

96 Accordion for ASP.NET Web Forms

AccessKey Property Gets or sets the access key that allows you to quickly navigate to the Web server control.

Syntax

Visual Basic (Declaration)

Public Overrides Property AccessKey As System.String

C#

[Layout(LayoutType.Accessibility)] public override System.string AccessKey {get; set;} Property Value

The access key for quick navigation to the Web server control. The default value is System.String.Empty, which indicates that this property is not set.

Exceptions

Exception Description

System.ArgumentOutOfRangeException The specified access key is neither null, System.String.Empty nor a single character string.

See Also

Reference

C1Accordion Class C1Accordion Members

Animated Property Determines the animation easing effect; set this option to false in order to disable animation. Additional options that are available for the animation function include: expand - value of true indicates that content element must be expanded. horizontal - value of true indicates that expander is horizontally orientated (when expandDirection is left or right). content - jQuery object that contains content element to be expanded or collapsed.

Syntax

Visual Basic (Declaration)

97 Accordion for ASP.NET Web Forms

Public ReadOnly Property Animated As AnimatedOption

C#

[System.Web.UI.PersistenceMode(PersistenceMode.InnerProperty)] [System.ComponentModel.DesignerSerializationVisibility(DesignerSerializat ionVisibility.Content)] [WidgetOption()] [C1Description(Key="C1Accordion.Animated", Description="Determines the animation easing effect")] [C1Category("Behavior")] [TypeConverter("System.ComponentModel.ExpandableObjectConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")] [System.ComponentModel.NotifyParentProperty(true)] public AnimatedOption Animated {get;} See Also

Reference

C1Accordion Class C1Accordion Members

AutoPostBack Property Sets or retrieves a value that indicates whether or not the control posts back to the server each time a user interacts with the control.

Syntax

Visual Basic (Declaration)

98 Accordion for ASP.NET Web Forms

Public Property AutoPostBack As System.Boolean

C#

[C1Description(Key="C1Accordion.AutoPostBack", Description="Indicates whether or not the control posts back to the sever each time a user interacts with the control.")] [System.ComponentModel.DefaultValue()] [C1Category("Behavior")] [Layout(LayoutType.Behavior)] public System.bool AutoPostBack {get; set;} See Also

Reference

C1Accordion Class C1Accordion Members

ContentField Property Gets or sets the name of the field from the data source to bind to the panes content.

Syntax

Visual Basic (Declaration)

Public Property ContentField As System.String

C#

[System.ComponentModel.DefaultValue()] [Layout(LayoutType.Data)] [C1Description(Key="C1Accordion.ContentField", Description="The name of the field from the data source to bind to the panes content.")] [C1Category("Data")] public System.string ContentField {get; set;}

99 Accordion for ASP.NET Web Forms

See Also

Reference

C1Accordion Class C1Accordion Members

DataMember Property Gets or sets the name of the list of data that the data-bound control binds to, in cases where the data source contains more than one distinct list of data items.

Syntax

Visual Basic (Declaration)

Public Overrides Property DataMember As System.String

C#

[Layout(LayoutType.Data)] [C1Category("Data")] public override System.string DataMember {get; set;} Property Value

The name of the specific list of data that the data-bound control binds to, if more than one list is supplied by a data source control. The default value is System.String.Empty.

See Also

Reference

C1Accordion Class C1Accordion Members

DataSourceID Property Gets or sets the ID of the control from which the data-bound control retrieves its list of data items.

Syntax

Visual Basic (Declaration)

100 Accordion for ASP.NET Web Forms

Public Overrides Property DataSourceID As System.String

C#

[Layout(LayoutType.Data)] [C1Category("Data")] public override System.string DataSourceID {get; set;} Property Value

The ID of a control that represents the data source from which the data-bound control retrieves its data.

See Also

Reference

C1Accordion Class C1Accordion Members

Enabled Property Gets or sets a value indicating whether the Web server control is enabled.

Syntax

Visual Basic (Declaration)

Public Overrides Property Enabled As System.Boolean

C#

[Layout(LayoutType.Behavior)] public override System.bool Enabled {get; set;} Property Value true if control is enabled; otherwise, false. The default is true.

See Also

Reference

C1Accordion Class C1Accordion Members

101 Accordion for ASP.NET Web Forms

Event Property Determines the event that triggers the accordion.

Syntax

Visual Basic (Declaration)

Public Property Event As System.String

C#

[System.ComponentModel.DefaultValue()] [C1Description(Key="C1Accordion.Event", Description="Determines the event that triggers the accordion.")] [C1Category("Behavior")] [WidgetOption()] public System.string Event {get; set;} See Also

Reference

C1Accordion Class C1Accordion Members

ExpandDirection Property Determines the content expand direction. Available values are top, right, bottom, and left.

Syntax

Visual Basic (Declaration)

102 Accordion for ASP.NET Web Forms

Public Property ExpandDirection As ExpandDirection

C#

[Layout(LayoutType.Appearance)] [System.ComponentModel.DefaultValue()] [C1Description(Key="C1Accordion.ExpandDirection", Description="Determines the content expand direction. Available values are top, right, bottom, and left.")] [C1Category("Appearance")] [WidgetOption()] public ExpandDirection ExpandDirection {get; set;} See Also

Reference

C1Accordion Class C1Accordion Members

Header Property Selector for the header element. By using this option you can put header/content elements inside LI tags or into any other more complex html markup.

Syntax

Visual Basic (Declaration)

Public Property Header As System.String

C#

[System.ComponentModel.DefaultValue()] [WidgetOption()] [C1Description(Key="C1Accordion.Header", Description="Selector for the header element. By using this option you can put header/content elements inside LI tags or into any other more complex html markup.")] [C1Category("Appearance")] public System.string Header {get; set;}

103 Accordion for ASP.NET Web Forms

See Also

Reference

C1Accordion Class C1Accordion Members

HeaderField Property Gets or sets the name of the field from the data source to bind to the panes header.

Syntax

Visual Basic (Declaration)

Public Property HeaderField As System.String

C#

[Layout(LayoutType.Data)] [C1Description(Key="C1Accordion.HeaderField", Description="The name of the field from the data source to bind to the panes header.")] [System.ComponentModel.DefaultValue()] [C1Category("Data")] public System.string HeaderField {get; set;} See Also

Reference

C1Accordion Class C1Accordion Members

OnClientBeforeSelectedIndexChanged Property Occurs before an active accordion pane changes. The event is cancelable.

Syntax

Visual Basic (Declaration)

104 Accordion for ASP.NET Web Forms

Description="Occurs before an active accordion pane changes. The event is cancelable.")> Public Property OnClientBeforeSelectedIndexChanged As System.String

C#

[C1Description(Key="C1Accordion.OnClientBeforeSelectedIndexChanged", Description="Occurs before an active accordion pane changes. The event is cancelable.")] [System.ComponentModel.DefaultValue()] [C1Category("Client-Side Events")] [WidgetEvent("ev, args")] public System.string OnClientBeforeSelectedIndexChanged {get; set;} See Also

Reference

C1Accordion Class C1Accordion Members

OnClientSelectedIndexChanged Property Occurs when an active accordion pane changed.

Syntax

Visual Basic (Declaration)

Public Property OnClientSelectedIndexChanged As System.String

C#

[C1Category("Client-Side Events")] [WidgetEvent("ev, args")] [C1Description(Key="C1Accordion.OnClientSelectedIndexChanged", Description="Occurs when an active accordion pane changed.")] [System.ComponentModel.DefaultValue()]

105 Accordion for ASP.NET Web Forms public System.string OnClientSelectedIndexChanged {get; set;} See Also

Reference

C1Accordion Class C1Accordion Members

Panes Property Collection of child panes in the accordion.

Syntax

Visual Basic (Declaration)

Public ReadOnly Property Panes As C1AccordionPaneCollection

C#

[Layout(LayoutType.Appearance)] [C1Category("Appearance")] [System.ComponentModel.NotifyParentProperty(true)] [C1Description(Key="Accordion.Panes", Description="Accordion.Panes")] [System.ComponentModel.Browsable(false)] [System.ComponentModel.RefreshProperties(RefreshProperties.All)] [System.ComponentModel.DesignerSerializationVisibility(DesignerSerializat ionVisibility.Content)] [System.Web.UI.PersistenceMode(PersistenceMode.InnerProperty)] [System.ComponentModel.MergableProperty(false)] public C1AccordionPaneCollection Panes {get;} See Also

106 Accordion for ASP.NET Web Forms

Reference

C1Accordion Class C1Accordion Members

RequireOpenedPane Property Determines whether clicking the header will close the currently opened pane (leaving all the accordion's panes closed).

Syntax

Visual Basic (Declaration)

Public Property RequireOpenedPane As System.Boolean

C#

[C1Category("Behavior")] [System.ComponentModel.DefaultValue()] [Layout(LayoutType.Behavior)] [WidgetOption()] [C1Description(Key="C1Accordion.RequireOpenedPane", Description="Determines whether clicking the header will close the currently opened pane (leaving all the accordion's panes closed).")] public System.bool RequireOpenedPane {get; set;} See Also

Reference

C1Accordion Class C1Accordion Members

SelectedIndex Property Gets or sets the index of the currently expanded accordion pane.

Syntax

107 Accordion for ASP.NET Web Forms

Visual Basic (Declaration)

Public Property SelectedIndex As System.Integer

C#

[WidgetOption()] [C1Description(Key="C1Accordion.SelectedIndex", Description="Index of the currently expanded accordion pane.")] [C1Category("Behavior")] [Layout(LayoutType.Appearance)] [System.ComponentModel.DefaultValue()] public System.int SelectedIndex {get; set;} See Also

Reference

C1Accordion Class C1Accordion Members

SelectedPane Property Gets or sets the selected pane in the accordion.

Syntax

Visual Basic (Declaration)

Public Property SelectedPane As C1AccordionPane

C#

[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializat ionVisibility.Hidden)]

108 Accordion for ASP.NET Web Forms

[System.ComponentModel.Browsable(false)] [C1Description(Key="Accordion.SelectedPane", Description="Accordion.SelectedPane")] public C1AccordionPane SelectedPane {get; set;} See Also

Reference

C1Accordion Class C1Accordion Members Events For a list of all members of this type, see C1Accordion members.

Public Events

Name Description

CallingDataMethods (Inherited from System.Web.UI.WebControls.DataBoundControl)

CreatingModelDataSource (Inherited from System.Web.UI.WebControls.DataBoundControl)

DataBinding (Inherited from System.Web.UI.Control)

DataBound (Inherited from System.Web.UI.WebControls.BaseDataBoundControl)

Disposed (Inherited from System.Web.UI.Control)

Init (Inherited from System.Web.UI.Control)

Load (Inherited from System.Web.UI.Control)

PreRender (Inherited from System.Web.UI.Control)

SelectedIndexChanged Raised during postback when the selected index changed.

Unload (Inherited from System.Web.UI.Control)

Top

109 Accordion for ASP.NET Web Forms

See Also

Reference

C1Accordion Class C1.Web.Wijmo.Controls.C1Accordion Namespace

SelectedIndexChanged Event Raised during postback when the selected index changed.

Syntax

Visual Basic (Declaration)

Public Event SelectedIndexChanged As System.EventHandler

C#

[C1Category("Behavior")] [C1Description(Key="C1Accordion.SelectedIndexChanged", Description="Raised during postback when the selected index changed.")] public event System.EventHandler SelectedIndexChanged See Also

Reference

C1Accordion Class C1Accordion Members C1AccordionPane The AccordionPane control is an expandable pane containing a header or title for information to be displayed in its accordion or viewing area.

Object Model

Syntax

Visual Basic (Declaration)

110 Accordion for ASP.NET Web Forms

Public Class C1AccordionPane Inherits System.Web.UI.WebControls.WebControl

C#

[System.ComponentModel.ToolboxItem(ToolboxItemType=, ToolboxItemTypeName="")] public class C1AccordionPane : System.Web.UI.WebControls.WebControl Inheritance Hierarchy

System.Object System.Web.UI.Control System.Web.UI.WebControls.WebControl C1.Web.Wijmo.Controls.C1Accordion.C1AccordionPane

See Also

Reference

C1AccordionPane Members C1.Web.Wijmo.Controls.C1Accordion Namespace Overview The AccordionPane control is an expandable pane containing a header or title for information to be displayed in its accordion or viewing area.

Object Model

Syntax

Visual Basic (Declaration)

Public Class C1AccordionPane Inherits System.Web.UI.WebControls.WebControl

C#

[System.ComponentModel.ToolboxItem(ToolboxItemType=, ToolboxItemTypeName="")] public class C1AccordionPane : System.Web.UI.WebControls.WebControl

111 Accordion for ASP.NET Web Forms

Inheritance Hierarchy

System.Object System.Web.UI.Control System.Web.UI.WebControls.WebControl C1.Web.Wijmo.Controls.C1Accordion.C1AccordionPane

See Also

Reference

C1AccordionPane Members C1.Web.Wijmo.Controls.C1Accordion Namespace Members The following tables list the members exposed by C1AccordionPane.

Public Constructors

Name Description

C1AccordionPane Constructor Overloaded.

Top

Public Properties

Name Description

AccessKey (Inherited from System.Web.UI.WebControls.WebControl)

AppRelativeTemplateSourceDirectory (Inherited from System.Web.UI.Control)

Attributes (Inherited from System.Web.UI.WebControls.WebControl)

ClientID (Inherited from System.Web.UI.Control)

ClientIDMode (Inherited from System.Web.UI.Control)

Content Gets or sets the content of a ContentControl.

112 Accordion for ASP.NET Web Forms

ContentPanel Gets the control that is used as the content panel.

Controls Overridden. Gets a System.Web.UI.ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.

ControlStyle (Inherited from System.Web.UI.WebControls.WebControl)

ControlStyleCreated (Inherited from System.Web.UI.WebControls.WebControl)

CssClass (Inherited from System.Web.UI.WebControls.WebControl)

Enabled (Inherited from System.Web.UI.WebControls.WebControl)

EnableTheming (Inherited from System.Web.UI.WebControls.WebControl)

EnableViewState (Inherited from System.Web.UI.Control)

Expanded Gets or sets a value that determines whether the panel is in an expanded state.

HasAttributes (Inherited from System.Web.UI.WebControls.WebControl)

Header Gets or sets the header template used to display the content of the control's header.

HeaderPanel Gets the control that is used as the header panel.

Height (Inherited from System.Web.UI.WebControls.WebControl)

113 Accordion for ASP.NET Web Forms

ID (Inherited from System.Web.UI.Control)

NamingContainer (Inherited from System.Web.UI.Control)

Page (Inherited from System.Web.UI.Control)

Parent (Inherited from System.Web.UI.Control)

RenderingCompatibility (Inherited from System.Web.UI.Control)

Site (Inherited from System.Web.UI.Control)

SkinID (Inherited from System.Web.UI.WebControls.WebControl)

Style (Inherited from System.Web.UI.WebControls.WebControl)

SupportsDisabledAttribute (Inherited from System.Web.UI.WebControls.WebControl)

TabIndex (Inherited from System.Web.UI.WebControls.WebControl)

TemplateControl (Inherited from System.Web.UI.Control)

TemplateSourceDirectory (Inherited from System.Web.UI.Control)

ToolTip (Inherited from System.Web.UI.WebControls.WebControl)

UniqueID (Inherited from System.Web.UI.Control)

ValidateRequestMode (Inherited from System.Web.UI.Control)

ViewStateMode (Inherited from System.Web.UI.Control)

Width (Inherited from

114 Accordion for ASP.NET Web Forms

System.Web.UI.WebControls.WebControl)

Top

Public Methods

Name Description

ApplyStyle (Inherited from System.Web.UI.WebControls.WebControl)

ApplyStyleSheetSkin (Inherited from System.Web.UI.Control)

CopyBaseAttributes (Inherited from System.Web.UI.WebControls.WebControl)

DataBind (Inherited from System.Web.UI.Control)

Dispose (Inherited from System.Web.UI.Control)

FindControl (Inherited from System.Web.UI.Control)

Focus (Inherited from System.Web.UI.Control)

GetRouteUrl Overloaded. (Inherited from System.Web.UI.Control)

GetUniqueIDRelativeTo (Inherited from System.Web.UI.Control)

HasControls (Inherited from System.Web.UI.Control)

MergeStyle (Inherited from System.Web.UI.WebControls.WebControl)

RenderBeginTag Overridden. Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.

RenderControl (Inherited from System.Web.UI.Control)

RenderEndTag Overridden. Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers.

115 Accordion for ASP.NET Web Forms

ResolveClientUrl (Inherited from System.Web.UI.Control)

ResolveUrl (Inherited from System.Web.UI.Control)

SetRenderMethodDelegate (Inherited from System.Web.UI.Control)

Top

Public Events

Name Description

DataBinding (Inherited from System.Web.UI.Control)

Disposed (Inherited from System.Web.UI.Control)

Init (Inherited from System.Web.UI.Control)

Load (Inherited from System.Web.UI.Control)

PreRender (Inherited from System.Web.UI.Control)

Unload (Inherited from System.Web.UI.Control)

Top

See Also

Reference

C1AccordionPane Class C1.Web.Wijmo.Controls.C1Accordion Namespace C1AccordionPane Constructor Overload List

Overload Description

C1AccordionPane Constructor() Initializes a new instance of the AccordionPane class.

116 Accordion for ASP.NET Web Forms

C1AccordionPane Constructor(C1Accordion) Initializes a new instance of the AccordionPane class. This constructor is primarily used by controls developers. Use this constructor if you need to reference the parent Accordion control inside overridden methods when the pane is not yet added to the Accordion's Panes collection.

C1AccordionPane Constructor(String) Initializes a new instance of the AccordionPane class.

See Also

Reference

C1AccordionPane Class C1AccordionPane Members

C1AccordionPane Constructor() Initializes a new instance of the AccordionPane class.

Syntax

Visual Basic (Declaration)

Public Function New()

C# public C1AccordionPane() See Also

Reference

C1AccordionPane Class C1AccordionPane Members Overload List

C1AccordionPane Constructor(C1Accordion) Initializes a new instance of the AccordionPane class. This constructor is primarily used by controls developers. Use this constructor if you need to reference the parent Accordion control inside overridden methods when the pane is not yet added to the Accordion's Panes collection.

Syntax

117 Accordion for ASP.NET Web Forms

Visual Basic (Declaration)

Public Function New( _ ByVal accordion As C1Accordion _ )

C# public C1AccordionPane( C1Accordion accordion ) Parameters accordion

Parent C1Accordion instance.

Remarks

Note, this constructor will not add newly created AccordionPane into Accordion's Panes collection automatically. So, developer need to do it manually.

See Also

Reference

C1AccordionPane Class C1AccordionPane Members Overload List

C1AccordionPane Constructor(String) Initializes a new instance of the AccordionPane class.

Syntax

Visual Basic (Declaration)

Public Function New( _ ByVal headerText As System.String _ )

C# public C1AccordionPane( System.string headerText

118 Accordion for ASP.NET Web Forms

) Parameters headerText

Text that will be rendered into header panel.

See Also

Reference

C1AccordionPane Class C1AccordionPane Members Overload List Methods For a list of all members of this type, see C1AccordionPane members.

Public Methods

Name Description

ApplyStyle (Inherited from System.Web.UI.WebControls.WebControl)

ApplyStyleSheetSkin (Inherited from System.Web.UI.Control)

CopyBaseAttributes (Inherited from System.Web.UI.WebControls.WebControl)

DataBind (Inherited from System.Web.UI.Control)

Dispose (Inherited from System.Web.UI.Control)

FindControl (Inherited from System.Web.UI.Control)

Focus (Inherited from System.Web.UI.Control)

GetRouteUrl Overloaded. (Inherited from System.Web.UI.Control)

GetUniqueIDRelativeTo (Inherited from System.Web.UI.Control)

HasControls (Inherited from System.Web.UI.Control)

119 Accordion for ASP.NET Web Forms

MergeStyle (Inherited from System.Web.UI.WebControls.WebControl)

RenderBeginTag Overridden. Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.

RenderControl (Inherited from System.Web.UI.Control)

RenderEndTag Overridden. Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers.

ResolveClientUrl (Inherited from System.Web.UI.Control)

ResolveUrl (Inherited from System.Web.UI.Control)

SetRenderMethodDelegate (Inherited from System.Web.UI.Control)

Top

See Also

Reference

C1AccordionPane Class C1.Web.Wijmo.Controls.C1Accordion Namespace

RenderBeginTag Method A System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.

Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.

Syntax

Visual Basic (Declaration)

Public Overrides Sub RenderBeginTag( _ ByVal writer As System.Web.UI.HtmlTextWriter _ )

120 Accordion for ASP.NET Web Forms

C# public override void RenderBeginTag( System.Web.UI.HtmlTextWriter writer ) Parameters writer

A System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.

See Also

Reference

C1AccordionPane Class C1AccordionPane Members

RenderEndTag Method A System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.

Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers.

Syntax

Visual Basic (Declaration)

Public Overrides Sub RenderEndTag( _ ByVal writer As System.Web.UI.HtmlTextWriter _ )

C# public override void RenderEndTag( System.Web.UI.HtmlTextWriter writer ) Parameters writer

A System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.

121 Accordion for ASP.NET Web Forms

See Also

Reference

C1AccordionPane Class C1AccordionPane Members Properties For a list of all members of this type, see C1AccordionPane members.

Public Properties

Name Description

AccessKey (Inherited from System.Web.UI.WebControls.WebControl)

AppRelativeTemplateSourceDirectory (Inherited from System.Web.UI.Control)

Attributes (Inherited from System.Web.UI.WebControls.WebControl)

ClientID (Inherited from System.Web.UI.Control)

ClientIDMode (Inherited from System.Web.UI.Control)

Content Gets or sets the content of a ContentControl.

ContentPanel Gets the control that is used as the content panel.

Controls Overridden. Gets a System.Web.UI.ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.

ControlStyle (Inherited from System.Web.UI.WebControls.WebControl)

ControlStyleCreated (Inherited from

122 Accordion for ASP.NET Web Forms

System.Web.UI.WebControls.WebControl)

CssClass (Inherited from System.Web.UI.WebControls.WebControl)

Enabled (Inherited from System.Web.UI.WebControls.WebControl)

EnableTheming (Inherited from System.Web.UI.WebControls.WebControl)

EnableViewState (Inherited from System.Web.UI.Control)

Expanded Gets or sets a value that determines whether the panel is in an expanded state.

HasAttributes (Inherited from System.Web.UI.WebControls.WebControl)

Header Gets or sets the header template used to display the content of the control's header.

HeaderPanel Gets the control that is used as the header panel.

Height (Inherited from System.Web.UI.WebControls.WebControl)

ID (Inherited from System.Web.UI.Control)

NamingContainer (Inherited from System.Web.UI.Control)

Page (Inherited from System.Web.UI.Control)

Parent (Inherited from System.Web.UI.Control)

RenderingCompatibility (Inherited from System.Web.UI.Control)

Site (Inherited from System.Web.UI.Control)

123 Accordion for ASP.NET Web Forms

SkinID (Inherited from System.Web.UI.WebControls.WebControl)

Style (Inherited from System.Web.UI.WebControls.WebControl)

SupportsDisabledAttribute (Inherited from System.Web.UI.WebControls.WebControl)

TabIndex (Inherited from System.Web.UI.WebControls.WebControl)

TemplateControl (Inherited from System.Web.UI.Control)

TemplateSourceDirectory (Inherited from System.Web.UI.Control)

ToolTip (Inherited from System.Web.UI.WebControls.WebControl)

UniqueID (Inherited from System.Web.UI.Control)

ValidateRequestMode (Inherited from System.Web.UI.Control)

ViewStateMode (Inherited from System.Web.UI.Control)

Width (Inherited from System.Web.UI.WebControls.WebControl)

Top

See Also

Reference

C1AccordionPane Class C1.Web.Wijmo.Controls.C1Accordion Namespace

Content Property Gets or sets the content of a ContentControl.

Syntax

124 Accordion for ASP.NET Web Forms

Visual Basic (Declaration)

Public Property Content As System.Web.UI.ITemplate

C#

[C1Description(Key="AccordionPane.Content", Description="AccordionPane.Content")] [System.Web.UI.TemplateContainer(BindingDirection=BindingDirection.OneWay , ContainerType=C1.Web.Wijmo.Controls.C1Accordion.C1AccordionPaneContentCon tainer)] [System.ComponentModel.Browsable(false)] [System.ComponentModel.DefaultValue()] [System.Web.UI.PersistenceMode(PersistenceMode.InnerProperty)] [System.ComponentModel.RefreshProperties(RefreshProperties.All)] [System.Web.UI.TemplateInstance(TemplateInstance.Single)] [Layout(LayoutType.Misc)] public System.Web.UI.ITemplate Content {get; set;} See Also

Reference

C1AccordionPane Class C1AccordionPane Members

ContentPanel Property Gets the control that is used as the content panel.

Syntax

125 Accordion for ASP.NET Web Forms

Visual Basic (Declaration)

Public ReadOnly Property ContentPanel As C1AccordionPaneContentContainer

C#

[System.ComponentModel.Browsable(false)] [C1Description(Key="AccordionPane.ContentPanel", Description="AccordionPane.ContentPanel")] [System.ComponentModel.DesignerSerializationVisibility(DesignerSerializat ionVisibility.Hidden)] public C1AccordionPaneContentContainer ContentPanel {get;} See Also

Reference

C1AccordionPane Class C1AccordionPane Members

Controls Property Gets a System.Web.UI.ControlCollection object that represents the child controls for a specified server control in the UI hierarchy.

Syntax

Visual Basic (Declaration)

Public Overrides ReadOnly Property Controls As System.Web.UI.ControlCollection

C# public override System.Web.UI.ControlCollection Controls {get;} Property Value

The collection of child controls for the specified server control.

See Also

Reference

126 Accordion for ASP.NET Web Forms

C1AccordionPane Class C1AccordionPane Members

Expanded Property Gets or sets a value that determines whether the panel is in an expanded state.

Syntax

Visual Basic (Declaration)

Public Overridable Property Expanded As System.Boolean

C#

[C1Description(Key="Accordion.Expanded", Description="Gets or sets a value that determines whether the panel is in an expanded state.")] [System.ComponentModel.DefaultValue()] public virtual System.bool Expanded {get; set;} See Also

Reference

C1AccordionPane Class C1AccordionPane Members

Header Property Gets or sets the header template used to display the content of the control's header.

Syntax

Visual Basic (Declaration)

127 Accordion for ASP.NET Web Forms

Public Property Header As System.Web.UI.ITemplate

C#

[System.Web.UI.TemplateContainer(BindingDirection=BindingDirection.OneWay , ContainerType=C1.Web.Wijmo.Controls.C1Accordion.C1AccordionPaneHeaderCont ainer)] [C1Description(Key="AccordionPane.Header", Description="AccordionPane.Header")] [System.ComponentModel.DefaultValue()] [System.Web.UI.PersistenceMode(PersistenceMode.InnerProperty)] [System.Web.UI.TemplateInstance(TemplateInstance.Single)] [System.ComponentModel.RefreshProperties(RefreshProperties.All)] [Layout(LayoutType.Misc)] [System.ComponentModel.Browsable(false)] public System.Web.UI.ITemplate Header {get; set;} See Also

Reference

C1AccordionPane Class C1AccordionPane Members

HeaderPanel Property Gets the control that is used as the header panel.

Syntax

Visual Basic (Declaration)

Public ReadOnly Property HeaderPanel As C1AccordionPaneHeaderContainer

C#

[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializat

128 Accordion for ASP.NET Web Forms ionVisibility.Hidden)] [C1Description(Key="AccordionPane.HeaderPanel", Description="AccordionPane.HeaderPanel")] [System.ComponentModel.Browsable(false)] public C1AccordionPaneHeaderContainer HeaderPanel {get;} See Also

Reference

C1AccordionPane Class C1AccordionPane Members C1AccordionPaneCollection Represents a collection of AccordionPane objects that are used by the Panes property.

Object Model

Syntax

Visual Basic (Declaration)

Public Class C1AccordionPaneCollection Inherits C1.Web.Wijmo.Controls.Base.Collections.C1ObservableItemCollection(Of C1Accordion,C1AccordionPane)

C# public class C1AccordionPaneCollection : C1.Web.Wijmo.Controls.Base.Collections.C1ObservableItemCollection Inheritance Hierarchy

System.Object System.Collections.ObjectModel.Collection C1.Web.Wijmo.Controls.C1Accordion.C1AccordionPaneCollection

See Also

Reference

129 Accordion for ASP.NET Web Forms

C1AccordionPaneCollection Members C1.Web.Wijmo.Controls.C1Accordion Namespace Overview Represents a collection of AccordionPane objects that are used by the Panes property.

Object Model

Syntax

Visual Basic (Declaration)

Public Class C1AccordionPaneCollection Inherits C1.Web.Wijmo.Controls.Base.Collections.C1ObservableItemCollection(Of C1Accordion,C1AccordionPane)

C# public class C1AccordionPaneCollection : C1.Web.Wijmo.Controls.Base.Collections.C1ObservableItemCollection Inheritance Hierarchy

System.Object System.Collections.ObjectModel.Collection C1.Web.Wijmo.Controls.C1Accordion.C1AccordionPaneCollection

See Also

Reference

C1AccordionPaneCollection Members C1.Web.Wijmo.Controls.C1Accordion Namespace Members The following tables list the members exposed by C1AccordionPaneCollection.

Public Constructors

Name Description

130 Accordion for ASP.NET Web Forms

C1AccordionPaneCollection Constructor Initializes a new instance of the AccordionPaneCollection class.

Top

Public Properties

Name Description

Item (Inherited from System.Collections.ObjectModel.Collection)

Top

Public Methods

Name Description

Add Adds a new pane item to the end of the list.

Clear Removes all items from collection.

Contains (Inherited from System.Collections.ObjectModel.Collection)

CopyTo (Inherited from System.Collections.ObjectModel.Collection)

IndexOf (Inherited from System.Collections.ObjectModel.Collection)

Insert Insert a C1AccordionPane item into a specific position in the collection.

Remove Removes the specified item from the list.

RemoveAt Removes an item from the list using its index.

Top

See Also

131 Accordion for ASP.NET Web Forms

Reference

C1AccordionPaneCollection Class C1.Web.Wijmo.Controls.C1Accordion Namespace C1AccordionPaneCollection Constructor Initializes a new instance of the AccordionPaneCollection class.

Syntax

Visual Basic (Declaration)

Public Function New( _ ByVal owner As C1Accordion _ )

C# public C1AccordionPaneCollection( C1Accordion owner ) Parameters owner

Parent Accordion class instance.

See Also

Reference

C1AccordionPaneCollection Class C1AccordionPaneCollection Members Methods For a list of all members of this type, see C1AccordionPaneCollection members.

Public Methods

Name Description

Add Adds a new pane item to the end of the list.

Clear Removes all items from collection.

132 Accordion for ASP.NET Web Forms

Contains (Inherited from System.Collections.ObjectModel.Collection)

CopyTo (Inherited from System.Collections.ObjectModel.Collection)

IndexOf (Inherited from System.Collections.ObjectModel.Collection)

Insert Insert a C1AccordionPane item into a specific position in the collection.

Remove Removes the specified item from the list.

RemoveAt Removes an item from the list using its index.

Top

See Also

Reference

C1AccordionPaneCollection Class C1.Web.Wijmo.Controls.C1Accordion Namespace

Add Method Adds a new pane item to the end of the list.

Syntax

Visual Basic (Declaration)

Public Shadows Sub Add( _ ByVal child As C1AccordionPane _ )

C# public new void Add( C1AccordionPane child ) Parameters child

133 Accordion for ASP.NET Web Forms

See Also

Reference

C1AccordionPaneCollection Class C1AccordionPaneCollection Members

Clear Method Removes all items from collection.

Syntax

Visual Basic (Declaration)

Public Shadows Sub Clear()

C# public new void Clear() See Also

Reference

C1AccordionPaneCollection Class C1AccordionPaneCollection Members

Insert Method Item position. Value should be greater or equal to 0

The new C1AccordionPane item.

Insert a C1AccordionPane item into a specific position in the collection.

Syntax

Visual Basic (Declaration)

Public Shadows Sub Insert( _ ByVal index As System.Integer, _ ByVal child As C1AccordionPane _ )

C# public new void Insert(

134 Accordion for ASP.NET Web Forms

System.int index, C1AccordionPane child ) Parameters index

Item position. Value should be greater or equal to 0

child

The new C1AccordionPane item.

See Also

Reference

C1AccordionPaneCollection Class C1AccordionPaneCollection Members

Remove Method Removes the specified item from the list.

Syntax

Visual Basic (Declaration)

Public Shadows Sub Remove( _ ByVal child As C1AccordionPane _ )

C# public new void Remove( C1AccordionPane child ) Parameters child

The C1AccordionPane item to be removed.

See Also

Reference

135 Accordion for ASP.NET Web Forms

C1AccordionPaneCollection Class C1AccordionPaneCollection Members

RemoveAt Method Removes an item from the list using its index.

Syntax

Visual Basic (Declaration)

Public Shadows Sub RemoveAt( _ ByVal index As System.Integer _ )

C# public new void RemoveAt( System.int index ) Parameters index

The index of the C1AccordionPane item to be removed.

See Also

Reference

C1AccordionPaneCollection Class C1AccordionPaneCollection Members C1AccordionPaneContentContainer Holds the content for the panes in the C1Accordion control.

Object Model

Syntax

Visual Basic (Declaration)

136 Accordion for ASP.NET Web Forms

ToolboxItemTypeName="")> Public Class C1AccordionPaneContentContainer Inherits System.Web.UI.WebControls.Panel

C#

[System.ComponentModel.ToolboxItem(ToolboxItemType=, ToolboxItemTypeName="")] public class C1AccordionPaneContentContainer : System.Web.UI.WebControls.Panel Inheritance Hierarchy

System.Object System.Web.UI.Control System.Web.UI.WebControls.WebControl System.Web.UI.WebControls.Panel C1.Web.Wijmo.Controls.C1Accordion.C1AccordionPaneContentContainer

See Also

Reference

C1AccordionPaneContentContainer Members C1.Web.Wijmo.Controls.C1Accordion Namespace Overview Holds the content for the panes in the C1Accordion control.

Object Model

Syntax

Visual Basic (Declaration)

Public Class C1AccordionPaneContentContainer Inherits System.Web.UI.WebControls.Panel

C#

[System.ComponentModel.ToolboxItem(ToolboxItemType=, ToolboxItemTypeName="")] public class C1AccordionPaneContentContainer :

137 Accordion for ASP.NET Web Forms

System.Web.UI.WebControls.Panel Inheritance Hierarchy

System.Object System.Web.UI.Control System.Web.UI.WebControls.WebControl System.Web.UI.WebControls.Panel C1.Web.Wijmo.Controls.C1Accordion.C1AccordionPaneContentContainer

See Also

Reference

C1AccordionPaneContentContainer Members C1.Web.Wijmo.Controls.C1Accordion Namespace Members The following tables list the members exposed by C1AccordionPaneContentContainer.

Public Constructors

Name Description

C1AccordionPaneContentContainer Constructor Initializes a new instance of the C1AccordionPaneHeaderContainer class.

Top

Public Properties

Name Description

AccessKey (Inherited from System.Web.UI.WebControls.WebControl)

AppRelativeTemplateSourceDirectory (Inherited from System.Web.UI.Control)

Attributes (Inherited from System.Web.UI.WebControls.WebControl)

BackColor (Inherited from

138 Accordion for ASP.NET Web Forms

System.Web.UI.WebControls.WebControl)

BackImageUrl (Inherited from System.Web.UI.WebControls.Panel)

BorderColor (Inherited from System.Web.UI.WebControls.WebControl)

BorderStyle (Inherited from System.Web.UI.WebControls.WebControl)

BorderWidth (Inherited from System.Web.UI.WebControls.WebControl)

ClientID (Inherited from System.Web.UI.Control)

ClientIDMode (Inherited from System.Web.UI.Control)

ContentElementAttributes Gets a collection of all attribute name and value pairs expressed on the content element tag within the ASP.NET page.

Controls (Inherited from System.Web.UI.Control)

ControlStyle (Inherited from System.Web.UI.WebControls.WebControl)

ControlStyleCreated (Inherited from System.Web.UI.WebControls.WebControl)

CssClass (Inherited from System.Web.UI.WebControls.WebControl)

DefaultButton (Inherited from System.Web.UI.WebControls.Panel)

Direction (Inherited from System.Web.UI.WebControls.Panel)

Enabled (Inherited from System.Web.UI.WebControls.WebControl)

139 Accordion for ASP.NET Web Forms

EnableTheming (Inherited from System.Web.UI.WebControls.WebControl)

EnableViewState (Inherited from System.Web.UI.Control)

Font (Inherited from System.Web.UI.WebControls.WebControl)

ForeColor (Inherited from System.Web.UI.WebControls.WebControl)

GroupingText (Inherited from System.Web.UI.WebControls.Panel)

HasAttributes (Inherited from System.Web.UI.WebControls.WebControl)

Height (Inherited from System.Web.UI.WebControls.WebControl)

HorizontalAlign (Inherited from System.Web.UI.WebControls.Panel)

ID (Inherited from System.Web.UI.Control)

NamingContainer (Inherited from System.Web.UI.Control)

Page Overridden. Gets a reference to the System.Web.UI.Page instance that contains the server control.

Parent (Inherited from System.Web.UI.Control)

RenderingCompatibility (Inherited from System.Web.UI.Control)

ScrollBars (Inherited from System.Web.UI.WebControls.Panel)

Site (Inherited from System.Web.UI.Control)

SkinID (Inherited from

140 Accordion for ASP.NET Web Forms

System.Web.UI.WebControls.WebControl)

Style (Inherited from System.Web.UI.WebControls.WebControl)

SupportsDisabledAttribute (Inherited from System.Web.UI.WebControls.Panel)

TabIndex (Inherited from System.Web.UI.WebControls.WebControl)

TemplateControl (Inherited from System.Web.UI.Control)

TemplateSourceDirectory (Inherited from System.Web.UI.Control)

ToolTip (Inherited from System.Web.UI.WebControls.WebControl)

UniqueID (Inherited from System.Web.UI.Control)

ValidateRequestMode (Inherited from System.Web.UI.Control)

ViewStateMode (Inherited from System.Web.UI.Control)

Visible (Inherited from System.Web.UI.Control)

Width (Inherited from System.Web.UI.WebControls.WebControl)

Wrap (Inherited from System.Web.UI.WebControls.Panel)

Top

Public Methods

Name Description

ApplyStyle (Inherited from System.Web.UI.WebControls.WebControl)

ApplyStyleSheetSkin (Inherited from System.Web.UI.Control)

141 Accordion for ASP.NET Web Forms

CopyBaseAttributes (Inherited from System.Web.UI.WebControls.WebControl)

DataBind (Inherited from System.Web.UI.Control)

Dispose (Inherited from System.Web.UI.Control)

FindControl (Inherited from System.Web.UI.Control)

Focus (Inherited from System.Web.UI.Control)

GetRouteUrl Overloaded. (Inherited from System.Web.UI.Control)

GetUniqueIDRelativeTo (Inherited from System.Web.UI.Control)

HasControls (Inherited from System.Web.UI.Control)

MergeStyle (Inherited from System.Web.UI.WebControls.WebControl)

RenderBeginTag Overridden. Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.

RenderControl (Inherited from System.Web.UI.Control)

RenderEndTag Overridden. Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers.

ResolveClientUrl (Inherited from System.Web.UI.Control)

ResolveUrl (Inherited from System.Web.UI.Control)

SetRenderMethodDelegate (Inherited from System.Web.UI.Control)

Top

Public Events

Name Description

142 Accordion for ASP.NET Web Forms

DataBinding (Inherited from System.Web.UI.Control)

Disposed (Inherited from System.Web.UI.Control)

Init (Inherited from System.Web.UI.Control)

Load (Inherited from System.Web.UI.Control)

PreRender (Inherited from System.Web.UI.Control)

Unload (Inherited from System.Web.UI.Control)

Top

See Also

Reference

C1AccordionPaneContentContainer Class C1.Web.Wijmo.Controls.C1Accordion Namespace C1AccordionPaneContentContainer Constructor Initializes a new instance of the C1AccordionPaneHeaderContainer class.

Syntax

Visual Basic (Declaration)

Public Function New( _ ByVal owner As C1AccordionPane _ )

C# public C1AccordionPaneContentContainer( C1AccordionPane owner ) Parameters owner

The owner accordion pane.

See Also

143 Accordion for ASP.NET Web Forms

Reference

C1AccordionPaneContentContainer Class C1AccordionPaneContentContainer Members Methods For a list of all members of this type, see C1AccordionPaneContentContainer members.

Public Methods

Name Description

ApplyStyle (Inherited from System.Web.UI.WebControls.WebControl)

ApplyStyleSheetSkin (Inherited from System.Web.UI.Control)

CopyBaseAttributes (Inherited from System.Web.UI.WebControls.WebControl)

DataBind (Inherited from System.Web.UI.Control)

Dispose (Inherited from System.Web.UI.Control)

FindControl (Inherited from System.Web.UI.Control)

Focus (Inherited from System.Web.UI.Control)

GetRouteUrl Overloaded. (Inherited from System.Web.UI.Control)

GetUniqueIDRelativeTo (Inherited from System.Web.UI.Control)

HasControls (Inherited from System.Web.UI.Control)

MergeStyle (Inherited from System.Web.UI.WebControls.WebControl)

RenderBeginTag Overridden. Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.

RenderControl (Inherited from System.Web.UI.Control)

144 Accordion for ASP.NET Web Forms

RenderEndTag Overridden. Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers.

ResolveClientUrl (Inherited from System.Web.UI.Control)

ResolveUrl (Inherited from System.Web.UI.Control)

SetRenderMethodDelegate (Inherited from System.Web.UI.Control)

Top

See Also

Reference

C1AccordionPaneContentContainer Class C1.Web.Wijmo.Controls.C1Accordion Namespace

RenderBeginTag Method A System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.

Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.

Syntax

Visual Basic (Declaration)

Public Overrides Sub RenderBeginTag( _ ByVal writer As System.Web.UI.HtmlTextWriter _ )

C# public override void RenderBeginTag( System.Web.UI.HtmlTextWriter writer ) Parameters writer

A System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.

145 Accordion for ASP.NET Web Forms

See Also

Reference

C1AccordionPaneContentContainer Class C1AccordionPaneContentContainer Members

RenderEndTag Method A System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.

Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers.

Syntax

Visual Basic (Declaration)

Public Overrides Sub RenderEndTag( _ ByVal writer As System.Web.UI.HtmlTextWriter _ )

C# public override void RenderEndTag( System.Web.UI.HtmlTextWriter writer ) Parameters writer

A System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.

See Also

Reference

C1AccordionPaneContentContainer Class C1AccordionPaneContentContainer Members Properties For a list of all members of this type, see C1AccordionPaneContentContainer members.

Public Properties

146 Accordion for ASP.NET Web Forms

Name Description

AccessKey (Inherited from System.Web.UI.WebControls.WebControl)

AppRelativeTemplateSourceDirectory (Inherited from System.Web.UI.Control)

Attributes (Inherited from System.Web.UI.WebControls.WebControl)

BackColor (Inherited from System.Web.UI.WebControls.WebControl)

BackImageUrl (Inherited from System.Web.UI.WebControls.Panel)

BorderColor (Inherited from System.Web.UI.WebControls.WebControl)

BorderStyle (Inherited from System.Web.UI.WebControls.WebControl)

BorderWidth (Inherited from System.Web.UI.WebControls.WebControl)

ClientID (Inherited from System.Web.UI.Control)

ClientIDMode (Inherited from System.Web.UI.Control)

ContentElementAttributes Gets a collection of all attribute name and value pairs expressed on the content element tag within the ASP.NET page.

Controls (Inherited from System.Web.UI.Control)

ControlStyle (Inherited from System.Web.UI.WebControls.WebControl)

ControlStyleCreated (Inherited from

147 Accordion for ASP.NET Web Forms

System.Web.UI.WebControls.WebControl)

CssClass (Inherited from System.Web.UI.WebControls.WebControl)

DefaultButton (Inherited from System.Web.UI.WebControls.Panel)

Direction (Inherited from System.Web.UI.WebControls.Panel)

Enabled (Inherited from System.Web.UI.WebControls.WebControl)

EnableTheming (Inherited from System.Web.UI.WebControls.WebControl)

EnableViewState (Inherited from System.Web.UI.Control)

Font (Inherited from System.Web.UI.WebControls.WebControl)

ForeColor (Inherited from System.Web.UI.WebControls.WebControl)

GroupingText (Inherited from System.Web.UI.WebControls.Panel)

HasAttributes (Inherited from System.Web.UI.WebControls.WebControl)

Height (Inherited from System.Web.UI.WebControls.WebControl)

HorizontalAlign (Inherited from System.Web.UI.WebControls.Panel)

ID (Inherited from System.Web.UI.Control)

NamingContainer (Inherited from System.Web.UI.Control)

Page Overridden. Gets a reference to the

148 Accordion for ASP.NET Web Forms

System.Web.UI.Page instance that contains the server control.

Parent (Inherited from System.Web.UI.Control)

RenderingCompatibility (Inherited from System.Web.UI.Control)

ScrollBars (Inherited from System.Web.UI.WebControls.Panel)

Site (Inherited from System.Web.UI.Control)

SkinID (Inherited from System.Web.UI.WebControls.WebControl)

Style (Inherited from System.Web.UI.WebControls.WebControl)

SupportsDisabledAttribute (Inherited from System.Web.UI.WebControls.Panel)

TabIndex (Inherited from System.Web.UI.WebControls.WebControl)

TemplateControl (Inherited from System.Web.UI.Control)

TemplateSourceDirectory (Inherited from System.Web.UI.Control)

ToolTip (Inherited from System.Web.UI.WebControls.WebControl)

UniqueID (Inherited from System.Web.UI.Control)

ValidateRequestMode (Inherited from System.Web.UI.Control)

ViewStateMode (Inherited from System.Web.UI.Control)

Visible (Inherited from System.Web.UI.Control)

Width (Inherited from

149 Accordion for ASP.NET Web Forms

System.Web.UI.WebControls.WebControl)

Wrap (Inherited from System.Web.UI.WebControls.Panel)

Top

See Also

Reference

C1AccordionPaneContentContainer Class C1.Web.Wijmo.Controls.C1Accordion Namespace

ContentElementAttributes Property Gets a collection of all attribute name and value pairs expressed on the content element tag within the ASP.NET page.

Syntax

Visual Basic (Declaration)

Public ReadOnly Property ContentElementAttributes As System.Web.UI.AttributeCollection

C#

[System.ComponentModel.Browsable(false)] [System.ComponentModel.DesignerSerializationVisibility(DesignerSerializat ionVisibility.Hidden)] public System.Web.UI.AttributeCollection ContentElementAttributes {get;} Property Value

The content element attributes.

See Also

Reference

C1AccordionPaneContentContainer Class C1AccordionPaneContentContainer Members

150 Accordion for ASP.NET Web Forms

Page Property Gets a reference to the System.Web.UI.Page instance that contains the server control.

Syntax

Visual Basic (Declaration)

Public Overrides Property Page As System.Web.UI.Page

C# public override System.Web.UI.Page Page {get; set;} Property Value

The System.Web.UI.Page instance that contains the server control.

Exceptions

Exception Description

System.InvalidOperationException The control is a System.Web.UI.WebControls.Substitution control.

See Also

Reference

C1AccordionPaneContentContainer Class C1AccordionPaneContentContainer Members C1AccordionPaneHeaderContainer Holds the content for the pane's header in the C1Accordion control.

Object Model

Syntax

Visual Basic (Declaration)

151 Accordion for ASP.NET Web Forms

Public Class C1AccordionPaneHeaderContainer Inherits System.Web.UI.WebControls.Panel

C#

[System.ComponentModel.ToolboxItem(ToolboxItemType=, ToolboxItemTypeName="")] public class C1AccordionPaneHeaderContainer : System.Web.UI.WebControls.Panel Inheritance Hierarchy

System.Object System.Web.UI.Control System.Web.UI.WebControls.WebControl System.Web.UI.WebControls.Panel C1.Web.Wijmo.Controls.C1Accordion.C1AccordionPaneHeaderContainer

See Also

Reference

C1AccordionPaneHeaderContainer Members C1.Web.Wijmo.Controls.C1Accordion Namespace Overview Holds the content for the pane's header in the C1Accordion control.

Object Model

Syntax

Visual Basic (Declaration)

Public Class C1AccordionPaneHeaderContainer Inherits System.Web.UI.WebControls.Panel

C#

[System.ComponentModel.ToolboxItem(ToolboxItemType=, ToolboxItemTypeName="")] public class C1AccordionPaneHeaderContainer : System.Web.UI.WebControls.Panel Inheritance Hierarchy

152 Accordion for ASP.NET Web Forms

System.Object System.Web.UI.Control System.Web.UI.WebControls.WebControl System.Web.UI.WebControls.Panel C1.Web.Wijmo.Controls.C1Accordion.C1AccordionPaneHeaderContainer

See Also

Reference

C1AccordionPaneHeaderContainer Members C1.Web.Wijmo.Controls.C1Accordion Namespace Members The following tables list the members exposed by C1AccordionPaneHeaderContainer.

Public Constructors

Name Description

C1AccordionPaneHeaderContainer Constructor Initializes a new instance of the C1AccordionPaneHeaderContainer class.

Top

Public Properties

Name Description

AccessKey (Inherited from System.Web.UI.WebControls.WebControl)

AppRelativeTemplateSourceDirectory (Inherited from System.Web.UI.Control)

Attributes (Inherited from System.Web.UI.WebControls.WebControl)

BackColor (Inherited from System.Web.UI.WebControls.WebControl)

BackImageUrl (Inherited from System.Web.UI.WebControls.Panel)

153 Accordion for ASP.NET Web Forms

BorderColor (Inherited from System.Web.UI.WebControls.WebControl)

BorderStyle (Inherited from System.Web.UI.WebControls.WebControl)

BorderWidth (Inherited from System.Web.UI.WebControls.WebControl)

ClientID (Inherited from System.Web.UI.Control)

ClientIDMode (Inherited from System.Web.UI.Control)

ContentElementAttributes Gets a collection of all attribute name and value pairs expressed on the content element tag within the ASP.NET page.

Controls (Inherited from System.Web.UI.Control)

ControlStyle (Inherited from System.Web.UI.WebControls.WebControl)

ControlStyleCreated (Inherited from System.Web.UI.WebControls.WebControl)

CssClass (Inherited from System.Web.UI.WebControls.WebControl)

DefaultButton (Inherited from System.Web.UI.WebControls.Panel)

Direction (Inherited from System.Web.UI.WebControls.Panel)

Enabled (Inherited from System.Web.UI.WebControls.WebControl)

EnableTheming (Inherited from System.Web.UI.WebControls.WebControl)

154 Accordion for ASP.NET Web Forms

EnableViewState (Inherited from System.Web.UI.Control)

Font (Inherited from System.Web.UI.WebControls.WebControl)

ForeColor (Inherited from System.Web.UI.WebControls.WebControl)

GroupingText (Inherited from System.Web.UI.WebControls.Panel)

HasAttributes (Inherited from System.Web.UI.WebControls.WebControl)

Height (Inherited from System.Web.UI.WebControls.WebControl)

HorizontalAlign (Inherited from System.Web.UI.WebControls.Panel)

ID (Inherited from System.Web.UI.Control)

NamingContainer (Inherited from System.Web.UI.Control)

Page (Inherited from System.Web.UI.Control)

Parent (Inherited from System.Web.UI.Control)

RenderingCompatibility (Inherited from System.Web.UI.Control)

ScrollBars (Inherited from System.Web.UI.WebControls.Panel)

Site (Inherited from System.Web.UI.Control)

SkinID (Inherited from System.Web.UI.WebControls.WebControl)

Style (Inherited from System.Web.UI.WebControls.WebControl)

155 Accordion for ASP.NET Web Forms

SupportsDisabledAttribute (Inherited from System.Web.UI.WebControls.Panel)

TabIndex (Inherited from System.Web.UI.WebControls.WebControl)

TemplateControl (Inherited from System.Web.UI.Control)

TemplateSourceDirectory (Inherited from System.Web.UI.Control)

ToolTip (Inherited from System.Web.UI.WebControls.WebControl)

UniqueID (Inherited from System.Web.UI.Control)

ValidateRequestMode (Inherited from System.Web.UI.Control)

ViewStateMode (Inherited from System.Web.UI.Control)

Visible (Inherited from System.Web.UI.Control)

Width (Inherited from System.Web.UI.WebControls.WebControl)

Wrap (Inherited from System.Web.UI.WebControls.Panel)

Top

Public Methods

Name Description

ApplyStyle (Inherited from System.Web.UI.WebControls.WebControl)

ApplyStyleSheetSkin (Inherited from System.Web.UI.Control)

CopyBaseAttributes (Inherited from System.Web.UI.WebControls.WebControl)

DataBind (Inherited from System.Web.UI.Control)

156 Accordion for ASP.NET Web Forms

Dispose (Inherited from System.Web.UI.Control)

FindControl (Inherited from System.Web.UI.Control)

Focus (Inherited from System.Web.UI.Control)

GetRouteUrl Overloaded. (Inherited from System.Web.UI.Control)

GetUniqueIDRelativeTo (Inherited from System.Web.UI.Control)

HasControls (Inherited from System.Web.UI.Control)

MergeStyle (Inherited from System.Web.UI.WebControls.WebControl)

RenderBeginTag Overridden. Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.

RenderControl (Inherited from System.Web.UI.Control)

RenderEndTag Overridden. Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers.

ResolveClientUrl (Inherited from System.Web.UI.Control)

ResolveUrl (Inherited from System.Web.UI.Control)

SetRenderMethodDelegate (Inherited from System.Web.UI.Control)

Top

Public Events

Name Description

DataBinding (Inherited from System.Web.UI.Control)

Disposed (Inherited from System.Web.UI.Control)

157 Accordion for ASP.NET Web Forms

Init (Inherited from System.Web.UI.Control)

Load (Inherited from System.Web.UI.Control)

PreRender (Inherited from System.Web.UI.Control)

Unload (Inherited from System.Web.UI.Control)

Top

See Also

Reference

C1AccordionPaneHeaderContainer Class C1.Web.Wijmo.Controls.C1Accordion Namespace C1AccordionPaneHeaderContainer Constructor Initializes a new instance of the C1AccordionPaneHeaderContainer class.

Syntax

Visual Basic (Declaration)

Public Function New( _ ByVal owner As C1AccordionPane _ )

C# public C1AccordionPaneHeaderContainer( C1AccordionPane owner ) Parameters owner

The owner accordion pane.

See Also

Reference

C1AccordionPaneHeaderContainer Class C1AccordionPaneHeaderContainer Members

158 Accordion for ASP.NET Web Forms

Methods For a list of all members of this type, see C1AccordionPaneHeaderContainer members.

Public Methods

Name Description

ApplyStyle (Inherited from System.Web.UI.WebControls.WebControl)

ApplyStyleSheetSkin (Inherited from System.Web.UI.Control)

CopyBaseAttributes (Inherited from System.Web.UI.WebControls.WebControl)

DataBind (Inherited from System.Web.UI.Control)

Dispose (Inherited from System.Web.UI.Control)

FindControl (Inherited from System.Web.UI.Control)

Focus (Inherited from System.Web.UI.Control)

GetRouteUrl Overloaded. (Inherited from System.Web.UI.Control)

GetUniqueIDRelativeTo (Inherited from System.Web.UI.Control)

HasControls (Inherited from System.Web.UI.Control)

MergeStyle (Inherited from System.Web.UI.WebControls.WebControl)

RenderBeginTag Overridden. Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.

RenderControl (Inherited from System.Web.UI.Control)

RenderEndTag Overridden. Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers.

159 Accordion for ASP.NET Web Forms

ResolveClientUrl (Inherited from System.Web.UI.Control)

ResolveUrl (Inherited from System.Web.UI.Control)

SetRenderMethodDelegate (Inherited from System.Web.UI.Control)

Top

See Also

Reference

C1AccordionPaneHeaderContainer Class C1.Web.Wijmo.Controls.C1Accordion Namespace

RenderBeginTag Method A System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.

Renders the HTML opening tag of the control to the specified writer. This method is used primarily by control developers.

Syntax

Visual Basic (Declaration)

Public Overrides Sub RenderBeginTag( _ ByVal writer As System.Web.UI.HtmlTextWriter _ )

C# public override void RenderBeginTag( System.Web.UI.HtmlTextWriter writer ) Parameters writer

A System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.

See Also

Reference

160 Accordion for ASP.NET Web Forms

C1AccordionPaneHeaderContainer Class C1AccordionPaneHeaderContainer Members

RenderEndTag Method A System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.

Renders the HTML closing tag of the control into the specified writer. This method is used primarily by control developers.

Syntax

Visual Basic (Declaration)

Public Overrides Sub RenderEndTag( _ ByVal writer As System.Web.UI.HtmlTextWriter _ )

C# public override void RenderEndTag( System.Web.UI.HtmlTextWriter writer ) Parameters writer

A System.Web.UI.HtmlTextWriter that represents the output stream to render HTML content on the client.

See Also

Reference

C1AccordionPaneHeaderContainer Class C1AccordionPaneHeaderContainer Members Properties For a list of all members of this type, see C1AccordionPaneHeaderContainer members.

Public Properties

Name Description

AccessKey (Inherited from

161 Accordion for ASP.NET Web Forms

System.Web.UI.WebControls.WebControl)

AppRelativeTemplateSourceDirectory (Inherited from System.Web.UI.Control)

Attributes (Inherited from System.Web.UI.WebControls.WebControl)

BackColor (Inherited from System.Web.UI.WebControls.WebControl)

BackImageUrl (Inherited from System.Web.UI.WebControls.Panel)

BorderColor (Inherited from System.Web.UI.WebControls.WebControl)

BorderStyle (Inherited from System.Web.UI.WebControls.WebControl)

BorderWidth (Inherited from System.Web.UI.WebControls.WebControl)

ClientID (Inherited from System.Web.UI.Control)

ClientIDMode (Inherited from System.Web.UI.Control)

ContentElementAttributes Gets a collection of all attribute name and value pairs expressed on the content element tag within the ASP.NET page.

Controls (Inherited from System.Web.UI.Control)

ControlStyle (Inherited from System.Web.UI.WebControls.WebControl)

ControlStyleCreated (Inherited from System.Web.UI.WebControls.WebControl)

CssClass (Inherited from

162 Accordion for ASP.NET Web Forms

System.Web.UI.WebControls.WebControl)

DefaultButton (Inherited from System.Web.UI.WebControls.Panel)

Direction (Inherited from System.Web.UI.WebControls.Panel)

Enabled (Inherited from System.Web.UI.WebControls.WebControl)

EnableTheming (Inherited from System.Web.UI.WebControls.WebControl)

EnableViewState (Inherited from System.Web.UI.Control)

Font (Inherited from System.Web.UI.WebControls.WebControl)

ForeColor (Inherited from System.Web.UI.WebControls.WebControl)

GroupingText (Inherited from System.Web.UI.WebControls.Panel)

HasAttributes (Inherited from System.Web.UI.WebControls.WebControl)

Height (Inherited from System.Web.UI.WebControls.WebControl)

HorizontalAlign (Inherited from System.Web.UI.WebControls.Panel)

ID (Inherited from System.Web.UI.Control)

NamingContainer (Inherited from System.Web.UI.Control)

Page (Inherited from System.Web.UI.Control)

Parent (Inherited from System.Web.UI.Control)

163 Accordion for ASP.NET Web Forms

RenderingCompatibility (Inherited from System.Web.UI.Control)

ScrollBars (Inherited from System.Web.UI.WebControls.Panel)

Site (Inherited from System.Web.UI.Control)

SkinID (Inherited from System.Web.UI.WebControls.WebControl)

Style (Inherited from System.Web.UI.WebControls.WebControl)

SupportsDisabledAttribute (Inherited from System.Web.UI.WebControls.Panel)

TabIndex (Inherited from System.Web.UI.WebControls.WebControl)

TemplateControl (Inherited from System.Web.UI.Control)

TemplateSourceDirectory (Inherited from System.Web.UI.Control)

ToolTip (Inherited from System.Web.UI.WebControls.WebControl)

UniqueID (Inherited from System.Web.UI.Control)

ValidateRequestMode (Inherited from System.Web.UI.Control)

ViewStateMode (Inherited from System.Web.UI.Control)

Visible (Inherited from System.Web.UI.Control)

Width (Inherited from System.Web.UI.WebControls.WebControl)

Wrap (Inherited from System.Web.UI.WebControls.Panel)

Top

164 Accordion for ASP.NET Web Forms

See Also

Reference

C1AccordionPaneHeaderContainer Class C1.Web.Wijmo.Controls.C1Accordion Namespace

ContentElementAttributes Property Gets a collection of all attribute name and value pairs expressed on the content element tag within the ASP.NET page.

Syntax

Visual Basic (Declaration)

Public ReadOnly Property ContentElementAttributes As System.Web.UI.AttributeCollection

C#

[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializat ionVisibility.Hidden)] [System.ComponentModel.Browsable(false)] public System.Web.UI.AttributeCollection ContentElementAttributes {get;} Property Value

The content element attributes.

See Also

Reference

C1AccordionPaneHeaderContainer Class C1AccordionPaneHeaderContainer Members C1AccordionSerializer Serializes the Accordion Control.

Object Model

165 Accordion for ASP.NET Web Forms

Syntax

Visual Basic (Declaration)

Public Class C1AccordionSerializer Inherits C1.Web.Wijmo.Controls.Base.C1BaseSerializer(Of C1Accordion,C1AccordionPane,C1Accordion)

C# public class C1AccordionSerializer : C1.Web.Wijmo.Controls.Base.C1BaseSerializer Inheritance Hierarchy

System.Object C1.Web.Wijmo.Controls.C1Accordion.C1AccordionSerializer

See Also

Reference

C1AccordionSerializer Members C1.Web.Wijmo.Controls.C1Accordion Namespace Overview Serializes the Accordion Control.

Object Model

Syntax

Visual Basic (Declaration)

Public Class C1AccordionSerializer Inherits C1.Web.Wijmo.Controls.Base.C1BaseSerializer(Of C1Accordion,C1AccordionPane,C1Accordion)

C# public class C1AccordionSerializer : C1.Web.Wijmo.Controls.Base.C1BaseSerializer

166 Accordion for ASP.NET Web Forms ordion> Inheritance Hierarchy

System.Object C1.Web.Wijmo.Controls.C1Accordion.C1AccordionSerializer

See Also

Reference

C1AccordionSerializer Members C1.Web.Wijmo.Controls.C1Accordion Namespace Members The following tables list the members exposed by C1AccordionSerializer.

Public Constructors

Name Description

C1AccordionSerializer Constructor Initializes a new instance of the AccordionSerializer class.

Top

Public Methods

Name Description

GetNextUniqueAccordionPaneName Gets a unique name for C1AccordionPane.

Top

See Also

Reference

C1AccordionSerializer Class C1.Web.Wijmo.Controls.C1Accordion Namespace C1AccordionSerializer Constructor Initializes a new instance of the AccordionSerializer class.

Syntax

167 Accordion for ASP.NET Web Forms

Visual Basic (Declaration)

Public Function New( _ ByVal obj As System.Object _ )

C# public C1AccordionSerializer( System.object obj ) Parameters obj

See Also

Reference

C1AccordionSerializer Class C1AccordionSerializer Members Methods For a list of all members of this type, see C1AccordionSerializer members.

Public Methods

Name Description

GetNextUniqueAccordionPaneName Gets a unique name for C1AccordionPane.

Top

See Also

Reference

C1AccordionSerializer Class C1.Web.Wijmo.Controls.C1Accordion Namespace

GetNextUniqueAccordionPaneName Method Gets a unique name for C1AccordionPane.

Syntax

168 Accordion for ASP.NET Web Forms

Visual Basic (Declaration)

Public Shared Function GetNextUniqueAccordionPaneName( _ ByVal parent As C1Accordion _ ) As System.String

C# public static System.string GetNextUniqueAccordionPaneName( C1Accordion parent ) Parameters parent

Return Value

Returns a unique name like "Accordion1Pane2".

See Also

Reference

C1AccordionSerializer Class C1AccordionSerializer Members Enumerations ExpandDirection Use the members of this enumeration to set the value of the ExpandDirection property in the C1Accordion class. This enumeration specifies different expand directions (top, right, bottom, and left) for the C1Accordion control.

Syntax

Visual Basic (Declaration)

Public Enum ExpandDirection Inherits System.Enum

C# public enum ExpandDirection : System.Enum Members

169 Accordion for ASP.NET Web Forms

Member Description

Bottom Bottom.

Left Left.

Right Right.

Top Top.

Inheritance Hierarchy

System.Object System.ValueType System.Enum C1.Web.Wijmo.Controls.C1Accordion.ExpandDirection

See Also

Reference

C1.Web.Wijmo.Controls.C1Accordion Namespace

170