Mortal Kombat! ASP.NET MVC vs ASP.NET Webforms – ASP.NET MVC is amazing
ComponentOne Slider for ASP.NET Web...
Transcript of ComponentOne Slider for ASP.NET Web...
ComponentOne
Slider 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.
Slider for ASP.NET Web Forms
1
Table of Contents Overview ....................................................................................................................................... 5
Help with ASP.NET Web Forms Edition .................................................................................... 5
Key Features.................................................................................................................................. 5
Quick Start .................................................................................................................................... 6
Step 1 of 3: Adding C1Slider to the Page .................................................................................. 6
Step 2 of 3: Customizing the Control ........................................................................................ 7
Step 3 of 3: Running the Application ........................................................................................ 8
Design-Time Support .................................................................................................................... 9
Smart Tag .................................................................................................................................. 9
Context Menu ......................................................................................................................... 10
Elements ..................................................................................................................................... 10
Thumb Buttons ....................................................................................................................... 11
Slider Track and Range ............................................................................................................ 12
Increment and Decrement Buttons ........................................................................................ 13
Appearance ................................................................................................................................. 13
Orientation .............................................................................................................................. 14
Themes .................................................................................................................................... 14
C1Slider's CSS Selectors .......................................................................................................... 15
Task-Based Help .......................................................................................................................... 15
Changing Orientation .............................................................................................................. 16
Setting C1Slider's Range ......................................................................................................... 16
Setting C1Slider's Thumbs ...................................................................................................... 17
C1Slider's Dragfill Behavior ..................................................................................................... 18
Setting C1Slider's Animation Property .................................................................................... 19
Customizing Appearance ........................................................................................................ 20
Using a Built-in Theme ........................................................................................................ 20
Setting a Custom Theme ..................................................................................................... 20
Using CSS Selectors ............................................................................................................. 21
Client-Side Reference .................................................................................................................. 22
Using the Wijmo CDN ............................................................................................................. 23
C1.Web.Wijmo.Controls.4 Assembly .......................................................................................... 24
Namespaces ............................................................................................................................ 24
Slider for ASP.NET Web Forms
2
C1.Web.Wijmo.Controls Namespace.................................................................................. 24
Overview ......................................................................................................................... 24
Classes ............................................................................................................................. 25
C1BaseStateManager .................................................................................................. 25
Overview ................................................................................................................. 26
Members ................................................................................................................. 26
C1TargetControlBase .................................................................................................. 27
Overview ................................................................................................................. 27
Members ................................................................................................................. 28
Methods .................................................................................................................. 33
GetPropertyValue<V> Method ........................................................................... 35
GetScriptDescriptors Method ............................................................................. 36
GetScriptReferences Method ............................................................................. 36
RegisterDesignTimeStyleSheet Method ............................................................. 37
SetPropertyValue<V> Method ............................................................................ 38
Properties ................................................................................................................ 38
CDNDependencyPaths Property ......................................................................... 42
CDNPath Property ............................................................................................... 43
DisplayVisible Property ....................................................................................... 43
EnableCombinedJavaScripts Property ................................................................ 44
Enabled Property ................................................................................................ 45
Theme Property .................................................................................................. 46
ThemeSwatch Property ...................................................................................... 47
UseCDN Property ................................................................................................ 48
WijmoControlMode Property ............................................................................. 49
WijmoCssAdapter Property ................................................................................ 49
C1TargetControlHelper ............................................................................................... 50
Overview ................................................................................................................. 51
Members ................................................................................................................. 52
C1TargetControlHelper Constructor ....................................................................... 52
Methods .................................................................................................................. 53
ResolveEmbeddedResourceUrl Method ............................................................. 53
C1TargetControlHelper<T> ......................................................................................... 54
Overview ................................................................................................................. 54
Slider for ASP.NET Web Forms
3
Members ................................................................................................................. 55
C1TargetControlHelper<T> Constructor ................................................................. 57
Methods .................................................................................................................. 57
EnsureEnabledState Method .............................................................................. 58
GetScriptDescriptors Method ............................................................................. 59
GetScriptDescriptors() Method....................................................................... 59
GetScriptDescriptors(String) Method ............................................................. 60
RegisterDesignTimeStyleSheet Method ............................................................. 60
RegisterDesignTimeStyleSheets Method ............................................................ 61
RegisterIncludes Method .................................................................................... 62
RegisterOnSubmitStatement Method ................................................................ 62
RegisterRunTimeStylesheets Method ................................................................. 63
RegisterScriptDescriptors Method ...................................................................... 63
RegisterScriptDescriptorsWithoutScriptManager Method ................................ 64
RegisterScriptDescriptorsWithScriptManager Method ...................................... 64
RenderJsonDataField Method ............................................................................ 64
ShowAbout Method ............................................................................................ 65
Properties ................................................................................................................ 65
Control Property ................................................................................................. 66
JsonSerializableHelper Property ......................................................................... 66
Page Property ...................................................................................................... 67
ScriptManager Property ...................................................................................... 67
WijChartNavigator ...................................................................................................... 67
Overview ................................................................................................................. 68
Members ................................................................................................................. 69
WijChartNavigator Constructor .............................................................................. 69
C1.Web.Wijmo.Controls.C1Slider Namespace ................................................................... 70
Overview ......................................................................................................................... 70
Classes ............................................................................................................................. 70
C1Slider ....................................................................................................................... 70
Overview ................................................................................................................. 71
Members ................................................................................................................. 72
C1Slider Constructor ............................................................................................... 79
Methods .................................................................................................................. 80
Slider for ASP.NET Web Forms
4
LoadLayout Method ............................................................................................ 82
LoadLayout(String) Method ............................................................................ 82
LoadLayout(Stream) Method .......................................................................... 83
LoadLayout(String,LayoutType) Method ........................................................ 83
LoadLayout(Stream,LayoutType) Method ...................................................... 84
SaveLayout Method ............................................................................................ 85
SaveLayout(String) Method ............................................................................ 86
SaveLayout(Stream) Method .......................................................................... 86
Properties ................................................................................................................ 87
Animate Property ................................................................................................ 92
DragFill Property ................................................................................................. 92
Height Property ................................................................................................... 93
Max Property ...................................................................................................... 94
Min Property ....................................................................................................... 94
OnClientButtonClick Property ............................................................................. 95
OnClientButtonMouseDown Property................................................................ 96
OnClientButtonMouseOut Property ................................................................... 97
OnClientButtonMouseOver Property ................................................................. 97
OnClientButtonMouseUp Property .................................................................... 98
Orientation Property ........................................................................................... 99
Range Property ................................................................................................. 100
Step Property .................................................................................................... 101
Value Property .................................................................................................. 101
Values Property ................................................................................................. 102
Width Property ................................................................................................. 103
C1SliderSerializer ...................................................................................................... 103
Overview ............................................................................................................... 104
Members ............................................................................................................... 105
C1SliderSerializer Constructor .............................................................................. 105
Slider for ASP.NET Web Forms
5
Overview Provide a simple, familiar way for end-users to choose a value in a predefined range with Slider
for ASP.NET Web Forms. TheC1Slider control includes rich built-in accessibility features such
as keyboard and mouse wheel support.
Getting Started
Get started with the following topics:
Key Features
Quick Start
Control Elements
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.
Top Tips
Visit the Top Tips page for a troubleshooting tip when working with ASP.NET Web Forms
Edition.
Key Features Slider for ASP.NET Web Forms includes several unique features, including the following:
Vertical and Horizontal Orientation
The slider control can appear horizontally (default) or vertically on the page. This allows
you to further customize the layout of the control in relation to other elements on the
page.
Range Sliders
Use the range slider for scenarios when a range rather than a value is needed. You can
set the initial values for each handle.
Robust Client-side Object Model
Slider includes a robust client-side object model, where a majority of server-side
properties can be set on the client-side and client-side events are described in the
Properties window. You can enjoy the convenience of accessing properties and
methods of the C1Slider control without having to postback to the server.
Animation
With built-in animation transition options, you can customize how animation effects are
Slider for ASP.NET Web Forms
6
transitioned in the slider control. You can change how the thumb moves when the
slider track is clicked. By default the slider moves with a smooth linear transition effect.
Theming
With just a click of the SmartTag, change the slider's look by selecting one of the 5
premium themes (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 slider to your organization's standards.
See Also Quick Start
Quick Start The following quick start is designed to quickly familiarize you with the features for theC1Slider
control. In this quick start you'll create a simple Web site that uses the C1Slider control to
change the number that appears in a text box.
See Also
Step 1 of 3: Adding C1Slider to the Page
Step 2 of 3: Customizing the Control
Step 3 of 3: Running the Application
Step 1 of 3: Adding C1Slider to the Page In this step you'll add a C1Slider control and a TextBox control to the page.
Complete the following steps:
1. From the Visual Studio File menu select New │ Project. The New Project dialog box
will appear.
2. In the New Project dialog box expand a language in the left-hand pane and select
Web. In the right pane, choose ASP.NET Empty Web Application, enter a Name for
your application, and select OK. A new application will be created.
3. In the Solution Explorer, right-click the project and choose Add Reference.
4. In the Add Reference dialog box, locate and select the C1.Web.Wijmo.Controls and
C1.Web.Wijmo.Controls.Design assemblies and click OK. The references will be
added.
5. Right-click the project in the Solution Explorer and from the context menu choose Add
│ New Item.
6. In the Add New Item dialog box choose Web Form from the list of templates, name
the item "Default.aspx", and click Add. The new page should open.
7. Click the Design tab located below the Document window to switch to Design view.
Slider for ASP.NET Web Forms
7
8. Navigate to the Visual Studio Toolbox and double-click the C1Slider control to add it
to the page. The page will now look similar to the following image:
9. In Design view, press the Enter key to add a space below the C1Slider control.
10. Navigate to the Toolbox and double-click the Input (Text) control to add it to your
application.
11. Resize the input control so that it appears the same width as the slider.
Now that you've created your Web site and added controls to the page, the next step is to
customize the C1Slider control.
See Also
Step 2 of 3: Customizing the Control
Step 2 of 3: Customizing the Control In this step you'll customize the C1Slider control. The following steps assume you've completed
the Step 1 of 3: Adding C1Slider to the Page topic and added the C1Slider control to the page.
Complete the following steps:
1. In Design view, click the C1Slider control's smart tag to open the C1Slider Tasks
Menu.
2. In the Theme drop-down box, select rocket to change the theme.
3. With the C1Slider control selected, navigate to the Properties window and enter 50
next to the Value property to set the initial placement of the thumb button.
4. Switch to Source view and edit the C1Slider's markup to add the OnClientButtonClick
event handler. The markup will appear like the following :
5. 6. 7. <cc1:C1Slider ID="C1Slider1" runat="server"
onclientbuttonclick="C1Slider1_OnClientButtonClick" Value="50"
/>
8.
9. Switch to Source view and edit the input control's markup to add the OnChange event
handler. The markup will appear like the following :
10. 11.
12. <input id="Text1" type="text" onchange="Text1_OnChange()"/>
13.
14. In Source view, add the following markup to add JavaScript to the
C1Slider1_OnClientValueChanged event handler so that it looks like the following : 15. 16.
17. <script type="text/javascript" language="javascript">
18. function C1Slider1_OnClientButtonClick(sender, eventargs) {
19. document.getElementById("Text1").value =
$("#<%=C1Slider1.ClientID%>").c1slider("value");
Slider for ASP.NET Web Forms
8
20. };
21. function Text1_OnChange() {
22. var val =
parseInt(document.getElementById("Text1").value);
23. $("#<%=C1Slider1.ClientID%>").c1slider("value", val);
24. };
25. </script>
26.
Now the text box's value will change when the C1Slider's value changes and the slider's value
will now change when the text box's value changes.
In this step you've customized the controls with JavaScript. In the next (and last) step you'll run
your application and see the C1Slider control in action.
See Also
Step 3 of 3: Running the Application
Step 3 of 3: Running the Application In the previous steps you created and customized the C1Slider control. In this last step you'll
run your application and view the C1Slider control at run time. Note that the following steps
assume you've completed the Step 2 of 3: Customizing the Control topic.
Complete the following steps:
1. Run your application. The page will look similar to the following:
Click on the Increment or Decrement buttons. Notice that the slider's Value appears
in the text box. Note that the value in the text box increases by 1. The amount the
C1Slider control's value changes when the Increment and Decrement buttons are
pressed is controlled by the Step property.
2. Enter a value in the text box, for example 20, and click on the page outside of the text
box.
The placement of the thumb control changes to the value of the number you entered.
In this step you've observed the run-time interaction of the C1Slider control. After completing
this quick start you've successfully created Web site with a simple C1Slider application.
See Also
Elements
Slider for ASP.NET Web Forms
9
Design-Time Support The following sections describe how to use C1Slider 's design-time environment to configure
the C1Slider control.
See Also
Smart Tag
Context Menu
Smart Tag In Visual Studio, the C1Slider control includes a smart tag. A smart tag represents a short-cut
tasks menu that provides the most commonly used properties in C1Slider. The C1Slider control
provides quick and easy access to common properties through its smart tag.
To access the C1Slider Tasks menu, click on the smart tag in the upper-right corner of the
C1Slider control. This will open the C1Slider Tasks menu.
The C1Slider Tasks menu operates as follows:
Theme
Clicking the Theme drop-down box allows you to select from various visual schemes.
For more information about available visual styles, see Themes.
Create new theme
The Create new theme option opens ThemeRoller for Visual Studio. This allows you
to customize a theme without leaving your development environment. To find more
information on using ThemeRoller in your application, see ThemeRoller for Visual
Studio.
Use CDN
Selecting the Use CDN check box will indicate that the widget extender must load
client resources from a content delivery network. By default this box is not checked.
Slider for ASP.NET Web Forms
10
CDN Path
Indicates the path for the content delivery network. Enter a URL here to change the
path.
Use Bootstrap
Selecting the Use Bootstrap option applies Bootstrap theming to your control.To find
more information on using Bootstrap theming in your application, see Bootstrap
Theming.
About
Clicking 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 Context Menu
Context Menu Right-click anywhere on the list to display the C1Slider context menu, which is a context menu
that Visual Studio provides for all .NET controls:
The context menu commands operate as follows:
Show Smart Tag
Clicking this item shows the C1Slider Tasks menu. For more information on how to use
the smart tag and available features in the Tasks menu, see C1Slider Smart Tag.
See Also Elements
Elements This section provides a visual and descriptive overview of the elements that comprise the
C1Slider control. The C1Slider control consists of several distinct elements. The C1Slider control
Slider for ASP.NET Web Forms
11
includes a track with a selected region, a thumb button that can be moved on the track, and
decrement and increment buttons that can also cause the thumb to move on the track.
The control consists of the following elements:
Selected range: The selected region visualizes the selected range from the first thumb
button to the second thumb button in a contrasting color.
Thumb buttons: Changes the C1Slider.Value of the slider by dragging the handle with
the mouse. If there are two buttons, the C1Slider.Values property of the slider is
changed instead.
Track: Visualizes the slider and changes the C1Slider.Value and C1Slider.Values when
clicked.
Decrement button: Decreases the C1Slider.Value of the slider by a single C1Slider.Step.
Increment button: Increases the C1Slider.Value of the slider by a single C1Slider.Step.
The following topics are categorized into the control's distinct elements that represent different
aspects of the control.
See Also
Thumb Buttons
Slider Track and Range
Increment and Decrement Buttons
Thumb Buttons The C1Slider control includes two thumb buttons. The first main thumb button and a second
thumb button used for selecting a value range. By default the first thumb button is visible and
the second is not visible. The value of the thumb button is defined by the C1Slider.Value
property. If you have two thumb buttons, the value of both is determined by the
C1Slider.Values property.
The main thumb button of the C1Slider control can be moved on the slider track through a
drag-and-drop operation or by pressing the Increment and Decrement buttons. The second
thumb button can also be moved by a drag-and-drop operation, but cannot be moved by
clicking the Increment and Decrement buttons as these buttons only effect the C1Slider.Value
property.
By default, if noC1Slider.Value has been set, the main slider thumb will appear on the slider
track next to the decrement button at run time - the left side of the control if
Slider for ASP.NET Web Forms
12
C1Slider.Orientation is set to Horizontal and the top of the control if C1Slider.Orientation is set
to Vertical:
The second slider thumb appears at the opposite end of the slider track by default - the right
side of the control if C1Slider.Orientation is set to Horizontal and the bottom of the control if
C1Slider.Orientation is set to Vertical.
See Also
Slider Track and Range
Slider Track and Range The track area of the C1Slider control forms the basis of the slider. The slider track is the area on
which the thumb button moves to set theC1Slider.Value property. The Decrement and
Increment buttons appear on either end of the slider track.
The selected range of the track visually indicates the difference between the two
selected C1Slider.Values. Ranges can be used to filter values within limits. For example, to
search an online store for items in a certain price range or search through a list of events for
those that happened within a certain date range.
The slider track visually indicates the current C1Slider.Value through the use of shading. When
the thumb button is moved or the C1Slider.Value is changed the slider track indicates the
current value through a colored selected range of the slider track.
See Also
Increment and Decrement Buttons
Slider for ASP.NET Web Forms
13
Increment and Decrement Buttons The C1Slider control's Increment and Decrement buttons appear on either side of the slider
track. Clicking the Increment and Decrement buttons changes the C1Slider.Value property and
the position of the thumb button on the slider track.
By default the Decrement button will appear on the left side of the slider if C1Slider.Orientation
is set to Horizontal and the top of the control if C1Slider.Orientation is set to Vertical. By
default the Increment button will appear on the right side of the slider if C1Slider.Orientation is
set to Horizontal and the bottom of the control if C1Slider.Orientation is set to Vertical.
By default the Increment and Decrement buttons increase or decrease the slider's
C1Slider.Value by 1 unit. To change the number by which the slider's C1Slider.Value is increased
or decreased, you can use the C1Slider.Step property. Set the C1Slider.Step property to the
number with which you want the C1Slider.Value to step up or down in value when the thumb is
moved or the Increment or Decrement buttons are clicked.
See Also
Appearance
Appearance There are several options for customizing the appearance and layout of the C1Slider control.
The following sections describe how to change the appearance of the control through built-in
themes as well as how to customize other elements of theC1Slider control.
See Also
Orientation
Themes
Slider for ASP.NET Web Forms
14
Orientation C1Slider includes the ability to orient the control either horizontally or vertically using
the C1Slider.Orientation property. By default the control initially appears with a horizontal page
orientation when placed on the page. You can easily change the orientation from the Properties
window, in Source view, and in code using the C1Slider.Orientation property.
C1Slider includes the following orientations:
Orientation Preview
Horizontal (default)
Vertical
See Also
Themes
Themes C1Slider includes several built-in themes to quickly style your application. You can easily change
themes from the C1Slider Tasks menu or the Properties window.
C1Slider includes the following built-in themes:
Visual Style Preview
arctic
aristo (default)
cobalt
midnight
Slider for ASP.NET Web Forms
15
rocket
sterling
C1Slider's CSS Selectors You can style many C1Slider elements using CSS to make their appearance unique. To make this
customization easier, ComponentOne includes CSS selectors with each of its six built-in themes.
You can apply general CSS properties such as border, background, text, font, margin, padding,
list, outline, and table to applicable CSS selectors.
For a list of common individual CSS selectors and grouped CSS selectors, select the C1Slider
control in your project and view the drop-down list next to the CssClass property in the Visual
Studio Properties window.
C1Slider CSS selectors begin with wijmo-wijslider:
See Also
Task-Based Help
Task-Based Help The task-based help section assumes that you are familiar with programming in the Visual
Studio ASP.NET environment, and know how to use the C1Slider control in general. Each topic
provides a solution for specific tasks using the C1Slider control. Each task-based help topic also
assumes that you have created a new ASP.NET project.
See Also
Changing Orientation
Setting C1Slider's Range
Setting C1Slider's Thumbs
Slider for ASP.NET Web Forms
16
C1Slider's Dragfill Behavior
Setting C1Slider's Animation Property
Customizing Appearance
Changing Orientation C1Slider can appear horizontally or vertically. The default orientation for the C1Slider control is
horizontal. This topic will walk you through setting C1Slider's orientation in Design View and in
Source View.
In Design View
Complete the following steps:
1. Navigate to the C1Slider Properties window and locate the Orientation property in the
list.
2. Use the drop-down menu to set the property to "Vertical".
In Source View
Add Orientation="Vertical" to the <cc1:C1Slider> tags so it resembles the following:
<cc1:C1Slider ID="C1Slider1" runat="server" Orientation="Vertical" />
See Also
Setting C1Slider's Range
Setting C1Slider's Range C1Slider supports capturing a range of values with two drag handles. This topic will walk you
through setting the properties that will allow two drag handles in Design View and in Source
View.
Slider for ASP.NET Web Forms
17
In Design View
1. In the Design View, navigate to the C1Slider Properties window.
2. Locate the Range property and use the drop-down menu to set it to "true".
3. Locate the Values property and click the ellipsis button to use the Int32 Collection
Editor to add the values "25" and "50".
4. Run your project. Your slider should resemble the following image.
Source View
Add Range="True" and Values="25,50" to the <cc1:C1Slider> tags to resemble the
following:
<cc1:C1Slider ID="C1Slider1" runat="server" Range="True"
Values="25,50" />
See Also
Setting C1Slider's Thumbs
Setting C1Slider's Thumbs C1Slider supports bound settings where a user can input values that indicate the upper and
lower bound. This topic will walk you through creating a bound setting in Design View and in
Source View.
In Design View
Slider for ASP.NET Web Forms
18
1. In the Design View, navigate to the C1Slider Properties window and locate the Values
property.
2. Click the ellipsis button to use the Int32 Collections Editor to add the values "25" and
"50".
3. Run your project. Your slider should resemble the following image:
In Source View
Add Values="25,50" to the <cc1:C1Slider> tags so your markup resembles the
following:
<cc1:C1Slider ID="C1Slider1" runat="server"
Values="25,50"><cc1:C1Slider />
See Also
C1Slider's Dragfill Behavior
C1Slider's Dragfill Behavior C1Slider supports dragging the fill between the two drag handles. By default, the DragFill
property is set to true. This topic will walk you through setting the properties for allowing the
dragfill behavior in Design View and in Source View.
In Design View
1. In the Design View, navigate to the C1Slider's Properties window and locate the Height
and Width properties. Set Height to "100px" and Width to "300px".
2. Locate the Range and Values properties. Set the Range to "True" and the Values to
"25,50".
3. Run your project. The Slider should resemble the following image:
In Source View
Add the following properties to the <cc1:C1Slider> tags:
Height="100px"
Slider for ASP.NET Web Forms
19
Width="300px"
Range="True"
Values="25,50"
Your <cc1:C1Slider> tag should resemble the following sample:
<cc1:C1Slider ID="C1Slider1" runat="server" Height="100px"
Width="300px" Range="True" Values="25,50" />
See Also
Setting C1Slider's Animation Property
Setting C1Slider's Animation Property C1Slider supports animation. The Animate property is set to "false" by default. This task-based
help will walk you through setting the Animate property in Design View and in Source View.
In Design View
1. Navigate to the C1Slider Properties Window and locate the Animate property.
2. Use the drop-down menu to set the property to "True".
In Source View
Add Animate="True" to the <cc1:C1Slider> tags as in the following sample:
<cc1:C1Slider ID="C1Slider1" runat="server" Animate="True" />
See Also
Customizing Appearance
Slider for ASP.NET Web Forms
20
Customizing Appearance You can fully customize C1Slider's appearance. C1Slider comes with six, easy-to-set built-in
themes that you can use or you can use C1Slider's CSS Selectors to customize the control's
appearance. You can also use one of the custom themes available through jQuery.
See Also
Using a Built-in Theme
Setting a Custom Theme
Using CSS Selectors
Using a Built-in Theme Applying one of the six built-in themes using the smart tag is an easy way to customize your
Slider control.
Complete the following steps:
1. Select the C1Slider control in your project.
2. Click the smart tag button to open the C1Slider Tasks menu.
3. Use the Theme drop-down box to choose a new theme.
4. Press F5 or start debugging to run the program. Your chosen theme will be applied to
the Slider control as in the following image:
See Also
Setting a Custom Theme
Setting a Custom Theme Setting one of jQuery's custom themes is a great way to customize the slider control.
Complete the following steps:
Slider for ASP.NET Web Forms
21
1. Click the C1Slider smart tag to open the C1Slider Tasks menu.
2. In the Theme drop-down box, enter a URL to specify the theme; URLs can be found at
http://blog.jqueryui.com/2012/02/jquery-ui-1-8-18/. In this example, we'll use the
swanky purse theme:
http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/swanky-purse/jquery-
ui.css.
This theme setting is stored in the <appSettings> of the Web.config file. In the
Solution Explorer, double-click the Web.config file. Notice the <appSettings> tag
contains a WijmoTheme key and value; this is where the CDN URL you added is
specified.
3. Run the project and notice that the theme has been applied toC1Slider as in the
following image:
See Also
Using CSS Selectors
Using CSS Selectors Setting C1Slider's CSS Selectors gives you control over the slider's appearance.
Complete these steps:
1. Click View | Properties in the Visual Studio toolbar.
2. In the Properties window, locate the CssClass property and use the drop-down list to
set it to wijmo-wijslider.
3. Switch to Source View and locate the first set of <asp:Content> tags. Insert the
following tag set: <style type="text/css"></style>
4. Insert the following CSS script into the <style> tags. This will set the appearance
properties of the slider control.
5. 6. 7. .wijmo-wijslider-incbutton 8. { 9. background: #308014; 10. }
11.
12. .wijmo-wijslider-decbutton
Slider for ASP.NET Web Forms
22
13. {
14. background: #308014;
15. }
16.
17. .wijmo-wijslider
18. {
19. border-color: #000000; border-width: medium;
background-color: #3d9140;
20. }
21.
22. .wijmo-wijslider-incbutton .ui-icon-triangle-1-e
23. {
24. background-color: #ffffff;
25. }
26.
27. .wijmo-wijslider .ui-slider-handle
28. {
29. background: #308014;
30. }
31.
32. .wijmo-wijslider .ui-state-active
33. {
34. background: #ffffff;
35. }
36.
37. Press F5 to run your application. The slider control should appear as in the following
image:
Note that when you click on the handle, it turns white:
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 Web site at http://wijmo.com/widgets/ provides everything you
need to know about Wijmo widgets, including demos and samples, documentation, theming
examples, support and more.
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 Slider 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.
Wijslider
Slider for ASP.NET Web Forms
23
wijslider documentation
wijslider 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:
<!--jQuery References-->
<script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.17/jquery-ui.min.js" type="text/javascript"></script>
<!--Theme-->
<link href="http://cdn.wijmo.com/themes/rocket/jquery-wijmo.css" rel="stylesheet"
type="text/css" title="rocket-jqueryui" />
<!--Wijmo Widgets CSS-->
<link href="http://cdn.wijmo.com/jquery.wijmo-complete.all.2.0.0.min.css" rel="stylesheet" type="text/css" />
<!--Wijmo Widgets JavaScript-->
<script src="http://cdn.wijmo.com/jquery.wijmo-open.all.2.0.0.min.js" type="text/javascript"></script>
<script src="http://cdn.wijmo.com/jquery.wijmo-complete.all.2.0.0.min.js" type="text/javascript"></script>
Slider for ASP.NET Web Forms
24
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.
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
Slider for ASP.NET Web Forms
25
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<T>
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
Syntax
Visual Basic (Declaration)
Public MustInherit Class C1BaseStateManager
C#
public abstract class C1BaseStateManager
Inheritance Hierarchy
System.Object
C1.Web.Wijmo.Controls.C1BaseStateManager
See Also
Slider for ASP.NET Web Forms
26
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
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
Slider for ASP.NET Web Forms
27
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)
<WidgetDependenciesAttribute(System.Object[])>
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
C1.Web.Wijmo.Controls.C1Slider.C1Slider
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
Slider for ASP.NET Web Forms
28
Syntax
Visual Basic (Declaration)
<WidgetDependenciesAttribute(System.Object[])>
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
C1.Web.Wijmo.Controls.C1Slider.C1Slider
See Also
Reference
C1TargetControlBase Members
C1.Web.Wijmo.Controls Namespace
Members The following tables list the members exposed by C1TargetControlBase.
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)
Slider for ASP.NET Web Forms
29
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.
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)
Slider for ASP.NET Web Forms
30
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)
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.
Slider for ASP.NET Web Forms
31
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
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)
Slider for ASP.NET Web Forms
32
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<V> 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)
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<V> Sets the property value by property name.
Slider for ASP.NET Web Forms
33
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.
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)
Slider for ASP.NET Web Forms
34
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<V> 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)
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<V> Sets the property value by property name.
Slider for ASP.NET Web Forms
35
SetRenderMethodDelegate (Inherited from System.Web.UI.Control)
Top
See Also
Reference
C1TargetControlBase Class
C1.Web.Wijmo.Controls Namespace
GetPropertyValue<V> 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<V>(
System.string propertyName,
V nullValue
)
Parameters
propertyName
Name of the property.
nullValue
The null value.
Type Parameters
V
See Also
Reference
Slider for ASP.NET Web Forms
36
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<ScriptDescriptor>
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
Visual Basic (Declaration)
Public Overridable Function GetScriptReferences() As
System.Collections.Generic.IEnumerable(Of ScriptReference)
C#
public virtual System.Collections.Generic.IEnumerable<ScriptReference>
GetScriptReferences()
Return Value
Slider for ASP.NET Web Forms
37
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
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
Slider for ASP.NET Web Forms
38
SetPropertyValue<V> 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<V>(
System.string propertyName,
V value
)
Parameters
propertyName
Name of the property.
value
The value.
Type Parameters
V
See Also
Reference
C1TargetControlBase Class
C1TargetControlBase Members
Properties For a list of all members of this type, see C1TargetControlBase members.
Public Properties
Name Description
Slider for ASP.NET Web Forms
39
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.
Enabled Overridden. Gets or sets a value indicating whether
the Web server control is enabled.
Slider for ASP.NET Web Forms
40
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)
TemplateControl (Inherited from System.Web.UI.Control)
TemplateSourceDirectory (Inherited from System.Web.UI.Control)
Slider for ASP.NET Web Forms
41
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
See Also
Reference
Slider for ASP.NET Web Forms
42
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)
<C1CategoryAttribute("Behavior")>
<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>
<C1DescriptionAttribute(Key="C1Base.CDNDependencyPaths", Description="A
string array value specifies all css/js references that wijmo control depends
on.")>
<System.ComponentModel.DefaultValueAttribute()>
<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria
lizationVisibility.Hidden)>
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(DesignerSerializationV
isibility.Hidden)]
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
Slider for ASP.NET Web Forms
43
C1TargetControlBase Class
C1TargetControlBase Members
CDNPath Property Content Delivery Network path.
Syntax
Visual Basic (Declaration)
<C1CategoryAttribute("Behavior")>
<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>
<C1DescriptionAttribute(Key="C1Base.CDNPath", Description="Content Delivery
Network path.")>
<System.ComponentModel.DefaultValueAttribute()>
<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria
lizationVisibility.Hidden)>
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(DesignerSerializationV
isibility.Hidden)]
public virtual System.string CDNPath {get; set;}
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)
<System.ComponentModel.DefaultValueAttribute()>
Slider for ASP.NET Web Forms
44
<WidgetOptionAttribute()>
<C1DescriptionAttribute(Key="C1Controls.DisplayVisible", Description="Gets or
sets a value that indicates whether a server control is rendered as UI on the
page.")>
<C1CategoryAttribute("Behavior")>
<LayoutAttribute(LayoutType.Behavior)>
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
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)
<C1DescriptionAttribute(Key="C1Base.EnableCombinedJavaScripts",
Description="Enable JavaScripts files combined into one file.")>
<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria
lizationVisibility.Hidden)>
<C1CategoryAttribute("Behavior")>
<System.ComponentModel.DefaultValueAttribute()>
Slider for ASP.NET Web Forms
45
Public Overridable Property EnableCombinedJavaScripts As System.Boolean
C#
[C1Description(Key="C1Base.EnableCombinedJavaScripts", Description="Enable
JavaScripts files combined into one file.")]
[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationV
isibility.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)
<WidgetOptionAttribute()>
<System.ComponentModel.DefaultValueAttribute()>
<C1DescriptionAttribute(Key="C1Base.Enabled", Description="Indicates whether
control is enabled.")>
<C1CategoryAttribute("Behavior")>
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.
Slider for ASP.NET Web Forms
46
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)
<TypeConverterAttribute("C1.Web.Wijmo.Controls.WijmoThemeNameConverter,
C1.Web.Wijmo.Controls.4, Version=4.0.20151.207, Culture=neutral,
PublicKeyToken=9b75583953471eea")>
<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria
lizationVisibility.Hidden)>
<C1DescriptionAttribute(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.")>
<C1CategoryAttribute("Behavior")>
<System.ComponentModel.DefaultValueAttribute()>
<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>
Public Overridable Property Theme As System.String
C#
[TypeConverter("C1.Web.Wijmo.Controls.WijmoThemeNameConverter,
C1.Web.Wijmo.Controls.4, Version=4.0.20151.207, Culture=neutral,
PublicKeyToken=9b75583953471eea")]
[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationV
isibility.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()]
Slider for ASP.NET Web Forms
47
[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)
<C1CategoryAttribute("Appearance")>
<WidgetOptionAttribute()>
<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria
lizationVisibility.Hidden)>
<System.ComponentModel.DefaultValueAttribute()>
<C1DescriptionAttribute(Key="C1Base.ThemeSwatch", Description="A value that
indicates the theme swatch of the control, this property only works when
WijmoControlMode property is Mobile.")>
<TypeConverterAttribute("C1.Web.Wijmo.Controls.WijmoThemeSwatchConverter,
C1.Web.Wijmo.Controls.4, Version=4.0.20151.207, Culture=neutral,
PublicKeyToken=9b75583953471eea")>
Public Overridable Property ThemeSwatch As System.String
C#
[C1Category("Appearance")]
[WidgetOption()]
[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationV
isibility.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")]
Slider for ASP.NET Web Forms
48
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)
<C1DescriptionAttribute(Key="C1Base.UseCDN", Description="Determines whether
this extender loads client script references from CDN.")>
<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>
<C1CategoryAttribute("Behavior")>
<System.ComponentModel.DefaultValueAttribute()>
<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria
lizationVisibility.Hidden)>
Public Overridable Property UseCDN As System.Boolean
C#
[C1Description(Key="C1Base.UseCDN", Description="Determines whether this
extender loads client script references from CDN.")]
[System.ComponentModel.RefreshProperties(RefreshProperties.All)]
[C1Category("Behavior")]
[System.ComponentModel.DefaultValue()]
[System.ComponentModel.DesignerSerializationVisibility(DesignerSerializationV
isibility.Hidden)]
public virtual System.bool UseCDN {get; set;}
See Also
Reference
C1TargetControlBase Class
C1TargetControlBase Members
Slider for ASP.NET Web Forms
49
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)
<C1CategoryAttribute("Behavior")>
<C1DescriptionAttribute(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.DefaultValueAttribute()>
<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>
<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria
lizationVisibility.Hidden)>
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(DesignerSerializationV
isibility.Hidden)]
public virtual WijmoControlMode WijmoControlMode {get; set;}
See Also
Reference
C1TargetControlBase Class
C1TargetControlBase Members
WijmoCssAdapter Property Indicates the control applies the theme of JQuery UI or Bootstrap.
Syntax
Visual Basic (Declaration)
Slider for ASP.NET Web Forms
50
<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.All)>
<C1CategoryAttribute("Behavior")>
<C1DescriptionAttribute(Key="C1Base.WijmoCssAdapter", Description="Indicates
the control applies the theme of JQuery UI or Bootstrap.")>
<System.ComponentModel.DefaultValueAttribute()>
<TypeConverterAttribute("C1.Web.Wijmo.Controls.WijmoCssAdapterConverter,
C1.Web.Wijmo.Controls.4, Version=4.0.20151.207, Culture=neutral,
PublicKeyToken=9b75583953471eea")>
<System.ComponentModel.DesignerSerializationVisibilityAttribute(DesignerSeria
lizationVisibility.Hidden)>
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(DesignerSerializationV
isibility.Hidden)]
public virtual System.string WijmoCssAdapter {get; set;}
See Also
Reference
C1TargetControlBase Class
C1TargetControlBase Members
C1TargetControlHelper
Object Model
Syntax
Visual Basic (Declaration)
Friend Class C1TargetControlHelper
Slider for ASP.NET Web Forms
51
C#
internal class C1TargetControlHelper
Inheritance Hierarchy
System.Object
C1.Web.Wijmo.Controls.C1TargetControlHelper
C1.Web.Wijmo.Controls.C1TargetControlHelper<T>
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
System.Object
C1.Web.Wijmo.Controls.C1TargetControlHelper
C1.Web.Wijmo.Controls.C1TargetControlHelper<T>
See Also
Reference
C1TargetControlHelper Members
C1.Web.Wijmo.Controls Namespace
Slider for ASP.NET Web Forms
52
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()
C#
public C1TargetControlHelper()
See Also
Reference
C1TargetControlHelper Class
C1TargetControlHelper Members
Slider for ASP.NET Web Forms
53
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,
System.bool combinedScript
)
Parameters
resourceName
page
combinedScript
See Also
Slider for ASP.NET Web Forms
54
Reference
C1TargetControlHelper Class
C1TargetControlHelper Members
C1TargetControlHelper<T>
Object Model
Syntax
Visual Basic (Declaration)
Friend Class C1TargetControlHelper(Of T As
{System.Web.UI.WebControls.WebControl, IC1TargetControl})
Inherits C1TargetControlHelper
C#
internal class C1TargetControlHelper<T> : 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<T>
See Also
Reference
C1TargetControlHelper<T> Members
C1.Web.Wijmo.Controls Namespace
Overview
Object Model
Slider for ASP.NET Web Forms
55
Syntax
Visual Basic (Declaration)
Friend Class C1TargetControlHelper(Of T As
{System.Web.UI.WebControls.WebControl, IC1TargetControl})
Inherits C1TargetControlHelper
C#
internal class C1TargetControlHelper<T> : 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<T>
See Also
Reference
C1TargetControlHelper<T> Members
C1.Web.Wijmo.Controls Namespace
Members The following tables list the members exposed by C1TargetControlHelper<T>.
Public Constructors
Name Description
C1TargetControlHelper<T> Constructor
Top
Public Properties
Name Description
Slider for ASP.NET Web Forms
56
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
RegisterRunTimeStylesheets
RegisterScriptDescriptors
RegisterScriptDescriptorsWithoutScriptManager
RegisterScriptDescriptorsWithScriptManager
RenderJsonDataField
ShowAbout Show about message box.
Slider for ASP.NET Web Forms
57
Top
See Also
Reference
C1TargetControlHelper<T> Class
C1.Web.Wijmo.Controls Namespace
C1TargetControlHelper<T> Constructor
Syntax
Visual Basic (Declaration)
Public Function New( _
ByVal control As T _
)
C#
public C1TargetControlHelper<T>(
T control
)
Parameters
control
See Also
Reference
C1TargetControlHelper<T> Class
C1TargetControlHelper<T> Members
Methods For a list of all members of this type, see C1TargetControlHelper<T> members.
Public Methods
Name Description
EnsureEnabledState
Slider for ASP.NET Web Forms
58
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
C1TargetControlHelper<T> Class
C1.Web.Wijmo.Controls Namespace
EnsureEnabledState Method
Syntax
Visual Basic (Declaration)
Public Sub EnsureEnabledState()
C#
Slider for ASP.NET Web Forms
59
public void EnsureEnabledState()
See Also
Reference
C1TargetControlHelper<T> Class
C1TargetControlHelper<T> 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<T> Class
C1TargetControlHelper<T> Members
GetScriptDescriptors() Method
When overridden in a derived class, registers the WidgetDescriptor objects for the control.
Syntax
Visual Basic (Declaration)
Public Overloads Function GetScriptDescriptors() As
System.Collections.Generic.IEnumerable(Of ScriptDescriptor)
C#
public System.Collections.Generic.IEnumerable<ScriptDescriptor>
GetScriptDescriptors()
Return Value
Slider for ASP.NET Web Forms
60
An enumeration of WidgetDescriptor objects.
See Also
Reference
C1TargetControlHelper<T> Class
C1TargetControlHelper<T> 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<ScriptDescriptor>
GetScriptDescriptors(
System.string targetSelector
)
Parameters
targetSelector
The target selector.
Return Value
An enumeration of WidgetDescriptor objects.
See Also
Reference
C1TargetControlHelper<T> Class
C1TargetControlHelper<T> Members
Overload List
RegisterDesignTimeStyleSheet Method Register design-time CSS stylesheet.
Slider for ASP.NET Web Forms
61
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<T> Class
C1TargetControlHelper<T> Members
RegisterDesignTimeStyleSheets Method
Syntax
Visual Basic (Declaration)
Public Sub RegisterDesignTimeStyleSheets( _
ByVal writer As System.Web.UI.HtmlTextWriter _
)
C#
Slider for ASP.NET Web Forms
62
public void RegisterDesignTimeStyleSheets(
System.Web.UI.HtmlTextWriter writer
)
Parameters
writer
See Also
Reference
C1TargetControlHelper<T> Class
C1TargetControlHelper<T> Members
RegisterIncludes Method
Syntax
Visual Basic (Declaration)
Public Sub RegisterIncludes()
C#
public void RegisterIncludes()
See Also
Reference
C1TargetControlHelper<T> Class
C1TargetControlHelper<T> Members
RegisterOnSubmitStatement Method
Syntax
Visual Basic (Declaration)
Public Sub RegisterOnSubmitStatement( _
Optional ByVal callback As System.String _
)
C#
public void RegisterOnSubmitStatement(
System.string callback
Slider for ASP.NET Web Forms
63
)
Parameters
callback
See Also
Reference
C1TargetControlHelper<T> Class
C1TargetControlHelper<T> Members
RegisterRunTimeStylesheets Method
Syntax
Visual Basic (Declaration)
Public Sub RegisterRunTimeStylesheets()
C#
public void RegisterRunTimeStylesheets()
See Also
Reference
C1TargetControlHelper<T> Class
C1TargetControlHelper<T> Members
RegisterScriptDescriptors Method
Syntax
Visual Basic (Declaration)
Public Sub RegisterScriptDescriptors()
C#
public void RegisterScriptDescriptors()
See Also
Reference
C1TargetControlHelper<T> Class
C1TargetControlHelper<T> Members
Slider for ASP.NET Web Forms
64
RegisterScriptDescriptorsWithoutScriptManager Method
Syntax
Visual Basic (Declaration)
Public Sub RegisterScriptDescriptorsWithoutScriptManager()
C#
public void RegisterScriptDescriptorsWithoutScriptManager()
See Also
Reference
C1TargetControlHelper<T> Class
C1TargetControlHelper<T> Members
RegisterScriptDescriptorsWithScriptManager Method
Syntax
Visual Basic (Declaration)
Public Sub RegisterScriptDescriptorsWithScriptManager()
C#
public void RegisterScriptDescriptorsWithScriptManager()
See Also
Reference
C1TargetControlHelper<T> Class
C1TargetControlHelper<T> Members
RenderJsonDataField Method
Syntax
Visual Basic (Declaration)
Public Sub RenderJsonDataField( _
ByVal writer As System.Web.UI.HtmlTextWriter _
)
Slider for ASP.NET Web Forms
65
C#
public void RenderJsonDataField(
System.Web.UI.HtmlTextWriter writer
)
Parameters
writer
See Also
Reference
C1TargetControlHelper<T> Class
C1TargetControlHelper<T> Members
ShowAbout Method Show about message box.
Syntax
Visual Basic (Declaration)
Public Sub ShowAbout()
C#
public void ShowAbout()
See Also
Reference
C1TargetControlHelper<T> Class
C1TargetControlHelper<T> Members
Properties For a list of all members of this type, see C1TargetControlHelper<T> members.
Public Properties
Name Description
Control
Slider for ASP.NET Web Forms
66
JsonSerializableHelper
Page
ScriptManager
Top
See Also
Reference
C1TargetControlHelper<T> 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<T> Class
C1TargetControlHelper<T> Members
JsonSerializableHelper Property
Syntax
Visual Basic (Declaration)
Public ReadOnly Property JsonSerializableHelper As JsonSerializableHelper
C#
public JsonSerializableHelper JsonSerializableHelper {get;}
See Also
Slider for ASP.NET Web Forms
67
Reference
C1TargetControlHelper<T> Class
C1TargetControlHelper<T> 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<T> Class
C1TargetControlHelper<T> Members
ScriptManager Property
Syntax
Visual Basic (Declaration)
Public ReadOnly Property ScriptManager As System.Web.UI.ScriptManager
C#
public System.Web.UI.ScriptManager ScriptManager {get;}
See Also
Reference
C1TargetControlHelper<T> Class
C1TargetControlHelper<T> Members
WijChartNavigator
Object Model
Slider for ASP.NET Web Forms
68
Syntax
Visual Basic (Declaration)
<WidgetDependenciesAttribute(System.Object[])>
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
Visual Basic (Declaration)
<WidgetDependenciesAttribute(System.Object[])>
Friend Class WijChartNavigator
Inherits WijChartCore
C#
[WidgetDependencies(System.Object[])]
internal class WijChartNavigator : WijChartCore
Inheritance Hierarchy
Slider for ASP.NET Web Forms
69
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
Visual Basic (Declaration)
Public Function New()
C#
public WijChartNavigator()
See Also
Reference
WijChartNavigator Class
WijChartNavigator Members
Slider for ASP.NET Web Forms
70
C1.Web.Wijmo.Controls.C1Slider Namespace
Overview Inheritance Hierarchy
Classes
Class Description
C1Slider Represents a slider in an ASP.NET Web page.
C1SliderSerializer Serializes C1Slider Control.
See Also
Reference
C1.Web.Wijmo.Controls.4 Assembly
Classes
C1Slider Represents a slider in an ASP.NET Web page.
Object Model
Syntax
Visual Basic (Declaration)
<System.ComponentModel.LicenseProviderAttribute()>
<System.Drawing.ToolboxBitmapAttribute()>
<WidgetDependenciesAttribute(System.Object[])>
<System.ComponentModel.DesignerAttribute(DesignerBaseTypeName="System.Compone
ntModel.Design.IDesigner",
DesignerTypeName="C1.Web.Wijmo.Controls.Design.C1Slider.C1SliderDesigner,
C1.Web.Wijmo.Controls.Design.4, Version=4.0.20151.207, Culture=neutral,
PublicKeyToken=9b75583953471eea")>
<System.Web.UI.ToolboxDataAttribute("<{0}:C1Slider runat=server
Slider for ASP.NET Web Forms
71
></{0}:C1Slider>")>
Public Class C1Slider
Inherits C1.Web.Wijmo.Controls.C1TargetControlBase
C#
[System.ComponentModel.LicenseProvider()]
[System.Drawing.ToolboxBitmap()]
[WidgetDependencies(System.Object[])]
[System.ComponentModel.Designer(DesignerBaseTypeName="System.ComponentModel.D
esign.IDesigner",
DesignerTypeName="C1.Web.Wijmo.Controls.Design.C1Slider.C1SliderDesigner,
C1.Web.Wijmo.Controls.Design.4, Version=4.0.20151.207, Culture=neutral,
PublicKeyToken=9b75583953471eea")]
[System.Web.UI.ToolboxData("<{0}:C1Slider runat=server ></{0}:C1Slider>")]
public class C1Slider : C1.Web.Wijmo.Controls.C1TargetControlBase
Inheritance Hierarchy
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
C1.Web.Wijmo.Controls.C1TargetControlBase
C1.Web.Wijmo.Controls.C1Slider.C1Slider
See Also
Reference
C1Slider Members
C1.Web.Wijmo.Controls.C1Slider Namespace
Overview Represents a slider in an ASP.NET Web page.
Object Model
Syntax
Visual Basic (Declaration)
<System.ComponentModel.LicenseProviderAttribute()>
Slider for ASP.NET Web Forms
72
<System.Drawing.ToolboxBitmapAttribute()>
<WidgetDependenciesAttribute(System.Object[])>
<System.ComponentModel.DesignerAttribute(DesignerBaseTypeName="System.Compone
ntModel.Design.IDesigner",
DesignerTypeName="C1.Web.Wijmo.Controls.Design.C1Slider.C1SliderDesigner,
C1.Web.Wijmo.Controls.Design.4, Version=4.0.20151.207, Culture=neutral,
PublicKeyToken=9b75583953471eea")>
<System.Web.UI.ToolboxDataAttribute("<{0}:C1Slider runat=server
></{0}:C1Slider>")>
Public Class C1Slider
Inherits C1.Web.Wijmo.Controls.C1TargetControlBase
C#
[System.ComponentModel.LicenseProvider()]
[System.Drawing.ToolboxBitmap()]
[WidgetDependencies(System.Object[])]
[System.ComponentModel.Designer(DesignerBaseTypeName="System.ComponentModel.D
esign.IDesigner",
DesignerTypeName="C1.Web.Wijmo.Controls.Design.C1Slider.C1SliderDesigner,
C1.Web.Wijmo.Controls.Design.4, Version=4.0.20151.207, Culture=neutral,
PublicKeyToken=9b75583953471eea")]
[System.Web.UI.ToolboxData("<{0}:C1Slider runat=server ></{0}:C1Slider>")]
public class C1Slider : C1.Web.Wijmo.Controls.C1TargetControlBase
Inheritance Hierarchy
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
C1.Web.Wijmo.Controls.C1TargetControlBase
C1.Web.Wijmo.Controls.C1Slider.C1Slider
See Also
Reference
C1Slider Members
C1.Web.Wijmo.Controls.C1Slider Namespace
Members The following tables list the members exposed by C1Slider.
Public Constructors
Slider for ASP.NET Web Forms
73
Name Description
C1Slider Constructor Initializes a new instance of the C1Slider class.
Top
Public Properties
Name Description
AccessKey (Inherited from
System.Web.UI.WebControls.WebControl)
Animate A value indicates whether to slide handle smoothly
when user click outside handle on the bar.
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. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
CDNPath Content Delivery Network path. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
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)
Slider for ASP.NET Web Forms
74
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. (Inherited
from C1.Web.Wijmo.Controls.C1TargetControlBase)
DragFill A value determines whether the fill may be dragged
between the buttons.
EnableCombinedJavaScripts Enable JavaScripts files combined into one file. In
order to combined enabled, you must register the
WijmoHttpHandler in web.config. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
Enabled Gets or sets a value indicating whether the Web
server control is enabled. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
EnableTheming (Inherited from
System.Web.UI.WebControls.WebControl)
EnableViewState (Inherited from System.Web.UI.Control)
HasAttributes (Inherited from
System.Web.UI.WebControls.WebControl)
Height Overridden. Gets or sets the height of the slider.
ID (Inherited from System.Web.UI.Control)
Max A value indicates the maximum value of the slider.
Min A value indicates the minimum value of the slider.
NamingContainer (Inherited from System.Web.UI.Control)
Slider for ASP.NET Web Forms
75
OnClientButtonClick Raised when the decrement button or increment
button has been clicked.
OnClientButtonMouseDown Raised when the mouse is down on the decrement
button or decrement button.
OnClientButtonMouseOut Raised when the mouse is leave the decrement
button or increment button.
OnClientButtonMouseOver Raised when the mouse is over the decrement
button or increment button.
OnClientButtonMouseUp Raised when the mouse is up on the decrement
button or increment button.
Orientation A value indicates whether the slider has the min at
the left, the max at the right or the min at the
bottom, the max at the top. Possible values:
'horizontal', 'vertical'.
Page (Inherited from System.Web.UI.Control)
Parent (Inherited from System.Web.UI.Control)
Range If the option value set to true, the slider will detect if
you have two handles and create a styleable range
element between these two. Two other possible
values are 'min' and 'max'. A min range goes from
the slider min to one handle. A max range goes from
one handle to the slider max.
RenderingCompatibility (Inherited from System.Web.UI.Control)
Site (Inherited from System.Web.UI.Control)
SkinID (Inherited from
System.Web.UI.WebControls.WebControl)
Slider for ASP.NET Web Forms
76
Step A value indicates the size or amount of each interval
or step the slider takes between min and max. The
full specified value range of the slider (max - min)
needs to be evenly divisible by the step.
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)
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. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
ThemeSwatch A value that indicates the theme swatch of the
control, this property only works when
WijmoControlMode property is Mobile. (Inherited
from C1.Web.Wijmo.Controls.C1TargetControlBase)
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
Slider for ASP.NET Web Forms
77
Network) path given by property CDNPath.
(Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
ValidateRequestMode (Inherited from System.Web.UI.Control)
Value A value indicates the value of the slider, if there's
only one handle. If there is more than one handle,
determines the value of the first handle.
Values This option can be used to specify multiple handles.
If range is set to true, the length of 'values' should
be 2.
ViewStateMode (Inherited from System.Web.UI.Control)
Width Overridden. Gets or sets the width of the slider.
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.
(Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
WijmoCssAdapter Indicates the control applies the theme of JQuery UI
or Bootstrap. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
Top
Public Methods
Name Description
ApplyStyle (Inherited from System.Web.UI.WebControls.WebControl)
ApplyStyleSheetSkin (Inherited from System.Web.UI.Control)
Slider for ASP.NET Web Forms
78
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<V> Gets the property value by property name. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
GetRouteUrl Overloaded. (Inherited from System.Web.UI.Control)
GetScriptDescriptors When overridden in a derived class, registers the
WidgetDescriptor objects for the control. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
GetScriptReferences When overridden in a derived class, registers an additional
script libraries for the extender control. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
GetUniqueIDRelativeTo (Inherited from System.Web.UI.Control)
HasControls (Inherited from System.Web.UI.Control)
LoadLayout Overloaded. Loads control layout properties from the file.
MergeStyle (Inherited from System.Web.UI.WebControls.WebControl)
RegisterDesignTimeStyleSheet Register design time stylesheet (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
RenderBeginTag (Inherited from System.Web.UI.WebControls.WebControl)
RenderControl (Inherited from System.Web.UI.Control)
Slider for ASP.NET Web Forms
79
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.
SetPropertyValue<V> Sets the property value by property name. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
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
C1Slider Class
C1.Web.Wijmo.Controls.C1Slider Namespace
C1Slider Constructor Initializes a new instance of the C1Slider class.
Slider for ASP.NET Web Forms
80
Syntax
Visual Basic (Declaration)
Public Function New()
C#
public C1Slider()
See Also
Reference
C1Slider Class
C1Slider Members
Methods For a list of all members of this type, see C1Slider 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)
GetPropertyValue<V> Gets the property value by property name. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
GetRouteUrl Overloaded. (Inherited from System.Web.UI.Control)
Slider for ASP.NET Web Forms
81
GetScriptDescriptors When overridden in a derived class, registers the
WidgetDescriptor objects for the control. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
GetScriptReferences When overridden in a derived class, registers an additional
script libraries for the extender control. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
GetUniqueIDRelativeTo (Inherited from System.Web.UI.Control)
HasControls (Inherited from System.Web.UI.Control)
LoadLayout Overloaded. Loads control layout properties from the file.
MergeStyle (Inherited from System.Web.UI.WebControls.WebControl)
RegisterDesignTimeStyleSheet Register design time stylesheet (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
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.
SetPropertyValue<V> Sets the property value by property name. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
SetRenderMethodDelegate (Inherited from System.Web.UI.Control)
Top
See Also
Slider for ASP.NET Web Forms
82
Reference
C1Slider Class
C1.Web.Wijmo.Controls.C1Slider Namespace
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
C1Slider Class
C1Slider 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
Slider for ASP.NET Web Forms
83
)
Parameters
filename
The file where the values of layout properties will be loaded.
See Also
Reference
C1Slider Class
C1Slider 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
C1Slider Class
C1Slider Members
Overload List
LoadLayout(String,LayoutType) Method
The file where the values of layout properties will be loaded.
Slider for ASP.NET Web Forms
84
The layout types to load.
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
C1Slider Class
C1Slider 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)
Slider for ASP.NET Web Forms
85
Public Overloads Sub LoadLayout( _
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
C1Slider Class
C1Slider Members
Overload List
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
C1Slider Class
C1Slider Members
Slider for ASP.NET Web Forms
86
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
Reference
C1Slider Class
C1Slider 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
Slider for ASP.NET Web Forms
87
)
Parameters
stream
The stream where the values of layout properties will be saved.
See Also
Reference
C1Slider Class
C1Slider Members
Overload List
Properties For a list of all members of this type, see C1Slider members.
Public Properties
Name Description
AccessKey (Inherited from
System.Web.UI.WebControls.WebControl)
Animate A value indicates whether to slide handle smoothly
when user click outside handle on the bar.
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. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
CDNPath Content Delivery Network path. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
ClientID (Inherited from System.Web.UI.Control)
Slider for ASP.NET Web Forms
88
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. (Inherited
from C1.Web.Wijmo.Controls.C1TargetControlBase)
DragFill A value determines whether the fill may be dragged
between the buttons.
EnableCombinedJavaScripts Enable JavaScripts files combined into one file. In
order to combined enabled, you must register the
WijmoHttpHandler in web.config. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
Enabled Gets or sets a value indicating whether the Web
server control is enabled. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
EnableTheming (Inherited from
System.Web.UI.WebControls.WebControl)
EnableViewState (Inherited from System.Web.UI.Control)
HasAttributes (Inherited from
System.Web.UI.WebControls.WebControl)
Slider for ASP.NET Web Forms
89
Height Overridden. Gets or sets the height of the slider.
ID (Inherited from System.Web.UI.Control)
Max A value indicates the maximum value of the slider.
Min A value indicates the minimum value of the slider.
NamingContainer (Inherited from System.Web.UI.Control)
OnClientButtonClick Raised when the decrement button or increment
button has been clicked.
OnClientButtonMouseDown Raised when the mouse is down on the decrement
button or decrement button.
OnClientButtonMouseOut Raised when the mouse is leave the decrement
button or increment button.
OnClientButtonMouseOver Raised when the mouse is over the decrement
button or increment button.
OnClientButtonMouseUp Raised when the mouse is up on the decrement
button or increment button.
Orientation A value indicates whether the slider has the min at
the left, the max at the right or the min at the
bottom, the max at the top. Possible values:
'horizontal', 'vertical'.
Page (Inherited from System.Web.UI.Control)
Parent (Inherited from System.Web.UI.Control)
Range If the option value set to true, the slider will detect if
you have two handles and create a styleable range
element between these two. Two other possible
values are 'min' and 'max'. A min range goes from
Slider for ASP.NET Web Forms
90
the slider min to one handle. A max range goes from
one handle to the slider max.
RenderingCompatibility (Inherited from System.Web.UI.Control)
Site (Inherited from System.Web.UI.Control)
SkinID (Inherited from
System.Web.UI.WebControls.WebControl)
Step A value indicates the size or amount of each interval
or step the slider takes between min and max. The
full specified value range of the slider (max - min)
needs to be evenly divisible by the step.
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)
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. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
ThemeSwatch A value that indicates the theme swatch of the
control, this property only works when
Slider for ASP.NET Web Forms
91
WijmoControlMode property is Mobile. (Inherited
from C1.Web.Wijmo.Controls.C1TargetControlBase)
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.
(Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
ValidateRequestMode (Inherited from System.Web.UI.Control)
Value A value indicates the value of the slider, if there's
only one handle. If there is more than one handle,
determines the value of the first handle.
Values This option can be used to specify multiple handles.
If range is set to true, the length of 'values' should
be 2.
ViewStateMode (Inherited from System.Web.UI.Control)
Width Overridden. Gets or sets the width of the slider.
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.
(Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
WijmoCssAdapter Indicates the control applies the theme of JQuery UI
or Bootstrap. (Inherited from
C1.Web.Wijmo.Controls.C1TargetControlBase)
Slider for ASP.NET Web Forms
92
Top
See Also
Reference
C1Slider Class
C1.Web.Wijmo.Controls.C1Slider Namespace
Animate Property A value indicates whether to slide handle smoothly when user click outside handle on the bar.
Syntax
Visual Basic (Declaration)
<WidgetOptionAttribute()>
<System.ComponentModel.DefaultValueAttribute()>
<C1DescriptionAttribute(Key="C1Slider.Animate", Description="A value
indicates whether to slide handle smoothly when user click outside handle on
the bar.")>
<C1CategoryAttribute("Behavior")>
<LayoutAttribute(LayoutType.Behavior)>
Public Property Animate As System.Boolean
C#
[WidgetOption()]
[System.ComponentModel.DefaultValue()]
[C1Description(Key="C1Slider.Animate", Description="A value indicates whether
to slide handle smoothly when user click outside handle on the bar.")]
[C1Category("Behavior")]
[Layout(LayoutType.Behavior)]
public System.bool Animate {get; set;}
See Also
Reference
C1Slider Class
C1Slider Members
DragFill Property A value determines whether the fill may be dragged between the buttons.
Syntax
Slider for ASP.NET Web Forms
93
Visual Basic (Declaration)
<System.ComponentModel.DefaultValueAttribute()>
<C1DescriptionAttribute(Key="C1Slider.DragFill", Description="A value
determines whether the fill may be dragged between the buttons.")>
<WidgetOptionAttribute()>
<LayoutAttribute(LayoutType.Behavior)>
<C1CategoryAttribute("Behavior")>
Public Property DragFill As System.Boolean
C#
[System.ComponentModel.DefaultValue()]
[C1Description(Key="C1Slider.DragFill", Description="A value determines
whether the fill may be dragged between the buttons.")]
[WidgetOption()]
[Layout(LayoutType.Behavior)]
[C1Category("Behavior")]
public System.bool DragFill {get; set;}
See Also
Reference
C1Slider Class
C1Slider Members
Height Property Gets or sets the height of the slider.
Syntax
Visual Basic (Declaration)
<WidgetOptionAttribute()>
<LayoutAttribute(LayoutType.Sizes)>
Public Overrides Property Height As System.Web.UI.WebControls.Unit
C#
[WidgetOption()]
[Layout(LayoutType.Sizes)]
public override System.Web.UI.WebControls.Unit Height {get; set;}
See Also
Slider for ASP.NET Web Forms
94
Reference
C1Slider Class
C1Slider Members
Max Property A value indicates the maximum value of the slider.
Syntax
Visual Basic (Declaration)
<C1CategoryAttribute("Behavior")>
<System.ComponentModel.DefaultValueAttribute()>
<C1DescriptionAttribute(Key="C1Slider.Max", Description="Gets or sets the
maximum value of slider.")>
<WidgetOptionAttribute()>
<LayoutAttribute(LayoutType.Behavior)>
Public Property Max As System.Integer
C#
[C1Category("Behavior")]
[System.ComponentModel.DefaultValue()]
[C1Description(Key="C1Slider.Max", Description="Gets or sets the maximum
value of slider.")]
[WidgetOption()]
[Layout(LayoutType.Behavior)]
public System.int Max {get; set;}
See Also
Reference
C1Slider Class
C1Slider Members
Min Property A value indicates the minimum value of the slider.
Syntax
Visual Basic (Declaration)
<WidgetOptionAttribute()>
Slider for ASP.NET Web Forms
95
<System.ComponentModel.DefaultValueAttribute()>
<C1DescriptionAttribute(Key="C1Slider.Min", Description="Gets or sets the
minimum value of slider.")>
<C1CategoryAttribute("Behavior")>
<LayoutAttribute(LayoutType.Behavior)>
Public Property Min As System.Integer
C#
[WidgetOption()]
[System.ComponentModel.DefaultValue()]
[C1Description(Key="C1Slider.Min", Description="Gets or sets the minimum
value of slider.")]
[C1Category("Behavior")]
[Layout(LayoutType.Behavior)]
public System.int Min {get; set;}
See Also
Reference
C1Slider Class
C1Slider Members
OnClientButtonClick Property Raised when the decrement button or increment button has been clicked.
Syntax
Visual Basic (Declaration)
<C1CategoryAttribute("Client-Side Events")>
<LayoutAttribute(LayoutType.Behavior)>
<WidgetOptionNameAttribute("buttonClick")>
<C1DescriptionAttribute(Key="C1Slider.OnClientButtonClick",
Description="Raised when the decrement button or incremen tbutton has been
clicked.")>
<WidgetEventAttribute("ev, data")>
<System.ComponentModel.DefaultValueAttribute()>
Public Property OnClientButtonClick As System.String
C#
[C1Category("Client-Side Events")]
[Layout(LayoutType.Behavior)]
Slider for ASP.NET Web Forms
96
[WidgetOptionName("buttonClick")]
[C1Description(Key="C1Slider.OnClientButtonClick", Description="Raised when
the decrement button or incremen tbutton has been clicked.")]
[WidgetEvent("ev, data")]
[System.ComponentModel.DefaultValue()]
public System.string OnClientButtonClick {get; set;}
See Also
Reference
C1Slider Class
C1Slider Members
OnClientButtonMouseDown Property Raised when the mouse is down on the decrement button or decrement button.
Syntax
Visual Basic (Declaration)
<System.ComponentModel.DefaultValueAttribute()>
<C1DescriptionAttribute(Key="C1Slider.OnClientButtonMouseDown",
Description="Fires on client side when the mouse is down on the button of
slider.")>
<WidgetOptionNameAttribute("buttonMouseDown")>
<LayoutAttribute(LayoutType.Behavior)>
<WidgetEventAttribute("ev, data")>
<C1CategoryAttribute("Client-Side Events")>
Public Property OnClientButtonMouseDown As System.String
C#
[System.ComponentModel.DefaultValue()]
[C1Description(Key="C1Slider.OnClientButtonMouseDown", Description="Fires on
client side when the mouse is down on the button of slider.")]
[WidgetOptionName("buttonMouseDown")]
[Layout(LayoutType.Behavior)]
[WidgetEvent("ev, data")]
[C1Category("Client-Side Events")]
public System.string OnClientButtonMouseDown {get; set;}
See Also
Reference
Slider for ASP.NET Web Forms
97
C1Slider Class
C1Slider Members
OnClientButtonMouseOut Property Raised when the mouse is leave the decrement button or increment button.
Syntax
Visual Basic (Declaration)
<System.ComponentModel.DefaultValueAttribute()>
<WidgetEventAttribute("ev, data")>
<WidgetOptionNameAttribute("buttonMouseOut")>
<LayoutAttribute(LayoutType.Behavior)>
<C1CategoryAttribute("Client-Side Events")>
<C1DescriptionAttribute(Key="C1Slider.OnClientButtonMouseOut",
Description="Raised when the mouse is leave the decrement button or increment
button.")>
Public Property OnClientButtonMouseOut As System.String
C#
[System.ComponentModel.DefaultValue()]
[WidgetEvent("ev, data")]
[WidgetOptionName("buttonMouseOut")]
[Layout(LayoutType.Behavior)]
[C1Category("Client-Side Events")]
[C1Description(Key="C1Slider.OnClientButtonMouseOut", Description="Raised
when the mouse is leave the decrement button or increment button.")]
public System.string OnClientButtonMouseOut {get; set;}
See Also
Reference
C1Slider Class
C1Slider Members
OnClientButtonMouseOver Property Raised when the mouse is over the decrement button or increment button.
Syntax
Visual Basic (Declaration)
Slider for ASP.NET Web Forms
98
<WidgetEventAttribute("ev, data")>
<WidgetOptionNameAttribute("buttonMouseOver")>
<C1CategoryAttribute("Client-Side Events")>
<LayoutAttribute(LayoutType.Behavior)>
<System.ComponentModel.DefaultValueAttribute()>
<C1DescriptionAttribute(Key="C1Slider.OnClientButtonMouseOver",
Description="Fires on client side when the mouse is over the button.")>
Public Property OnClientButtonMouseOver As System.String
C#
[WidgetEvent("ev, data")]
[WidgetOptionName("buttonMouseOver")]
[C1Category("Client-Side Events")]
[Layout(LayoutType.Behavior)]
[System.ComponentModel.DefaultValue()]
[C1Description(Key="C1Slider.OnClientButtonMouseOver", Description="Fires on
client side when the mouse is over the button.")]
public System.string OnClientButtonMouseOver {get; set;}
See Also
Reference
C1Slider Class
C1Slider Members
OnClientButtonMouseUp Property Raised when the mouse is up on the decrement button or increment button.
Syntax
Visual Basic (Declaration)
<C1DescriptionAttribute(Key="C1Slider.OnClientButtonMouseUp",
Description="Raised when the mouse is up on the decrement button or increment
button.")>
<WidgetEventAttribute("ev, data")>
<WidgetOptionNameAttribute("buttonMouseUp")>
<LayoutAttribute(LayoutType.Behavior)>
<System.ComponentModel.DefaultValueAttribute()>
<C1CategoryAttribute("Client-Side Events")>
Public Property OnClientButtonMouseUp As System.String
Slider for ASP.NET Web Forms
99
C#
[C1Description(Key="C1Slider.OnClientButtonMouseUp", Description="Raised when
the mouse is up on the decrement button or increment button.")]
[WidgetEvent("ev, data")]
[WidgetOptionName("buttonMouseUp")]
[Layout(LayoutType.Behavior)]
[System.ComponentModel.DefaultValue()]
[C1Category("Client-Side Events")]
public System.string OnClientButtonMouseUp {get; set;}
See Also
Reference
C1Slider Class
C1Slider Members
Orientation Property A value indicates whether the slider has the min at the left, the max at the right or the min at
the bottom, the max at the top. Possible values: 'horizontal', 'vertical'.
Syntax
Visual Basic (Declaration)
<C1CategoryAttribute("Appearance")>
<System.ComponentModel.DefaultValueAttribute()>
<WidgetOptionAttribute()>
<LayoutAttribute(LayoutType.Appearance)>
<C1DescriptionAttribute(Key="C1Slider.Orientation", Description="The
direction in which control is laid out.")>
Public Property Orientation As Orientation
C#
[C1Category("Appearance")]
[System.ComponentModel.DefaultValue()]
[WidgetOption()]
[Layout(LayoutType.Appearance)]
[C1Description(Key="C1Slider.Orientation", Description="The direction in
which control is laid out.")]
public Orientation Orientation {get; set;}
See Also
Slider for ASP.NET Web Forms
100
Reference
C1Slider Class
C1Slider Members
Range Property If the option value set to true, the slider will detect if you have two handles and create a
styleable range element between these two. Two other possible values are 'min' and 'max'. A
min range goes from the slider min to one handle. A max range goes from one handle to the
slider max.
Syntax
Visual Basic (Declaration)
<C1CategoryAttribute("Behavior")>
<System.ComponentModel.DefaultValueAttribute()>
<C1DescriptionAttribute(Key="C1Slider.Range", Description="If the option
value set to true, the slider will detect if you have two handles and create
a stylable range element between these two. Two other possible values are
'min' and 'max'. A min range goes from the slider min to one handle. A max
range goes from one handle to the slider max.")>
<WidgetOptionAttribute()>
<LayoutAttribute(LayoutType.Behavior)>
Public Property Range As System.Boolean
C#
[C1Category("Behavior")]
[System.ComponentModel.DefaultValue()]
[C1Description(Key="C1Slider.Range", Description="If the option value set to
true, the slider will detect if you have two handles and create a stylable
range element between these two. Two other possible values are 'min' and
'max'. A min range goes from the slider min to one handle. A max range goes
from one handle to the slider max.")]
[WidgetOption()]
[Layout(LayoutType.Behavior)]
public System.bool Range {get; set;}
See Also
Reference
C1Slider Class
C1Slider Members
Slider for ASP.NET Web Forms
101
Step Property A value indicates the size or amount of each interval or step the slider takes between min and
max. The full specified value range of the slider (max - min) needs to be evenly divisible by the
step.
Syntax
Visual Basic (Declaration)
<C1DescriptionAttribute(Key="C1Slider.Step", Description="Gets or sets the
step with which the slider value will change.")>
<WidgetOptionAttribute()>
<C1CategoryAttribute("Behavior")>
<System.ComponentModel.DefaultValueAttribute()>
<LayoutAttribute(LayoutType.Behavior)>
Public Property Step As System.Integer
C#
[C1Description(Key="C1Slider.Step", Description="Gets or sets the step with
which the slider value will change.")]
[WidgetOption()]
[C1Category("Behavior")]
[System.ComponentModel.DefaultValue()]
[Layout(LayoutType.Behavior)]
public System.int Step {get; set;}
See Also
Reference
C1Slider Class
C1Slider Members
Value Property A value indicates the value of the slider, if there's only one handle. If there is more than one
handle, determines the value of the first handle.
Syntax
Visual Basic (Declaration)
<C1CategoryAttribute("Behavior")>
<System.ComponentModel.DefaultValueAttribute()>
Slider for ASP.NET Web Forms
102
<WidgetOptionAttribute()>
<LayoutAttribute(LayoutType.Behavior)>
<C1DescriptionAttribute(Key="C1Slider.Value", Description="Gets or sets the
value of slider.")>
Public Property Value As System.Integer
C#
[C1Category("Behavior")]
[System.ComponentModel.DefaultValue()]
[WidgetOption()]
[Layout(LayoutType.Behavior)]
[C1Description(Key="C1Slider.Value", Description="Gets or sets the value of
slider.")]
public System.int Value {get; set;}
See Also
Reference
C1Slider Class
C1Slider Members
Values Property This option can be used to specify multiple handles. If range is set to true, the length of 'values'
should be 2.
Syntax
Visual Basic (Declaration)
<C1DescriptionAttribute(Key="C1Slider.Values", Description="This option can
be used to specify multiple handles. If range is set to true, the length of
'values' should be 2.")>
<TypeConverterAttribute("C1.Web.Wijmo.Controls.C1Slider.SliderValuesConverter
, C1.Web.Wijmo.Controls.4, Version=4.0.20151.207, Culture=neutral,
PublicKeyToken=9b75583953471eea")>
<WidgetOptionAttribute()>
<ArrayItemTypeAttribute(System.Int32)>
<LayoutAttribute(LayoutType.Behavior)>
<C1CategoryAttribute("Behavior")>
Public Property Values As System.Integer()
C#
Slider for ASP.NET Web Forms
103
[C1Description(Key="C1Slider.Values", Description="This option can be used to
specify multiple handles. If range is set to true, the length of 'values'
should be 2.")]
[TypeConverter("C1.Web.Wijmo.Controls.C1Slider.SliderValuesConverter,
C1.Web.Wijmo.Controls.4, Version=4.0.20151.207, Culture=neutral,
PublicKeyToken=9b75583953471eea")]
[WidgetOption()]
[ArrayItemType(System.Int32)]
[Layout(LayoutType.Behavior)]
[C1Category("Behavior")]
public System.int[] Values {get; set;}
See Also
Reference
C1Slider Class
C1Slider Members
Width Property Gets or sets the width of the slider.
Syntax
Visual Basic (Declaration)
<LayoutAttribute(LayoutType.Sizes)>
<WidgetOptionAttribute()>
Public Overrides Property Width As System.Web.UI.WebControls.Unit
C#
[Layout(LayoutType.Sizes)]
[WidgetOption()]
public override System.Web.UI.WebControls.Unit Width {get; set;}
See Also
Reference
C1Slider Class
C1Slider Members
C1SliderSerializer Serializes C1Slider Control.
Slider for ASP.NET Web Forms
104
Object Model
Syntax
Visual Basic (Declaration)
Public Class C1SliderSerializer
Inherits C1.Web.Wijmo.Controls.Base.C1BaseSerializer(Of
C1Slider,Object,Object)
C#
public class C1SliderSerializer :
C1.Web.Wijmo.Controls.Base.C1BaseSerializer<C1Slider,object,object>
Inheritance Hierarchy
System.Object
C1.Web.Wijmo.Controls.C1Slider.C1SliderSerializer
See Also
Reference
C1SliderSerializer Members
C1.Web.Wijmo.Controls.C1Slider Namespace
Overview Serializes C1Slider Control.
Object Model
Syntax
Visual Basic (Declaration)
Public Class C1SliderSerializer
Inherits C1.Web.Wijmo.Controls.Base.C1BaseSerializer(Of
C1Slider,Object,Object)
Slider for ASP.NET Web Forms
105
C#
public class C1SliderSerializer :
C1.Web.Wijmo.Controls.Base.C1BaseSerializer<C1Slider,object,object>
Inheritance Hierarchy
System.Object
C1.Web.Wijmo.Controls.C1Slider.C1SliderSerializer
See Also
Reference
C1SliderSerializer Members
C1.Web.Wijmo.Controls.C1Slider Namespace
Members The following tables list the members exposed by C1SliderSerializer.
Public Constructors
Name Description
C1SliderSerializer Constructor Initializes a new instance of the C1SliderSerializer class.
Top
See Also
Reference
C1SliderSerializer Class
C1.Web.Wijmo.Controls.C1Slider Namespace
C1SliderSerializer Constructor Initializes a new instance of the C1SliderSerializer class.
Syntax
Visual Basic (Declaration)
Public Function New( _
ByVal obj As System.Object _
)
Slider for ASP.NET Web Forms
106
C#
public C1SliderSerializer(
System.object obj
)
Parameters
obj
Serializable Object.
See Also
Reference
C1SliderSerializer Class
C1SliderSerializer Members