summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/JuiControls/Widgets.page
blob: 4c74c4919afdee11cad746a5f2fac6fb3983db86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<com:TContent ID="body">
<h1>Jui widgets controls</h1>
<p class="block-content">
Jui widgets are complex controls built on the foundations of jQuery effects and jQueryUI interactions.
PRADO Jui widgets controls can be divided in two groups:
<ol>
	<li>Standard Widgets, extend a control affecting its aspect and functionality: eg. <tt>TJuiProgressbar</tt> transforms an <a href="?page=ActiveControls.ActivePanel">TActivePanel</a> into a Progressbar</li>
	<li>List Widgets, take a repeated list of items and relayout their presentation: eg. ...
</ol>
For informations of the specific options of each widget, follow jQuery-UI Widget <a href="http://api.jqueryui.com/category/widgets/">API Documentation</a> for the specific interaction.
</p>

<a name="TJuiProgressbar" />
<h2>TJuiProgressbar</h2>
<com:DocLink ClassPath="System.Web.UI.JuiControls.TJuiProgressbar" /> - <a href="http://api.jqueryui.com/progressbar/">jQuery UI API</a>

<p class="block-content">
<tt>TJuiProgressbar</tt> is an extension to <a href="?page=ActiveControls.ActivePanel">TActivePanel</a> based on jQuery-UI's <a href="http://jqueryui.com/progressbar/">Progressbar</a> widget.
</p>

<p class="block-content">
The panel takes the aspect of a progressbar ranging from a value of 0 to the value of the <tt>Max</tt> property. The current value can be set using the <tt>Value</tt> property; setting it to <tt>false</tt> will create an undefined progressbar.
</p>

<com:RunBar PagePath="JuiControls.Samples.TJuiProgressbar.Home" />
<br/>

<a name="TJuiAutoComplete" />
<h2>TJuiAutoComplete</h2>
<com:DocLink ClassPath="System.Web.UI.JuiControls.TJuiAutoComplete" /> - <a href="http://api.jqueryui.com/autocomplete/">jQuery UI API</a>

<p class="block-content">
<tt>TJuiAutoComplete</tt> is an extension to <a href="?page=ActiveControls.ActiveTextBox">TActiveTextBox</a> based on jQuery-UI's <a href="http://jqueryui.com/autocomplete/">autocomplete</a> widget.
</p>

<p class="block-content">
TJuiAutoComplete is an extended ActiveTextBox that provides a list of suggestions on the current partial word typed in the textbox. The suggestions are requested using callbacks. The <tt>Frequency</tt> and <tt>MinChars</tt> properties sets the delay and minimum number of characters typed, respectively, before requesting for sugggestions. An embedded <tt>TRepeater</tt> is used to Display the list of suggestions. It can be accessed and styled through the Suggestions property and its sub-properties.
</p>

<p class="block-content">
On each request for suggestions, the <tt>OnSuggestion</tt> event will be raised. The event handler receives the entered token that can be used to build the list of suggestions and to <tt>dataBind()</tt> it to the Suggestions repeater.
</p>

<p class="block-content">
When a suggestion is selected the <tt>OnSuggestionSelected</tt> event is raised, with the index of the selected suggestion contained in the parameter. Multiple selections can be performed in the same textbox. The selections must be separated by any characters specified with the <tt>Separator</tt> property.
</p>

<com:RunBar PagePath="JuiControls.Samples.TJuiAutoComplete.Home" />
<br/>


<a name="TJuiDialog" />
<h2>TJuiDialog</h2>
<com:DocLink ClassPath="System.Web.UI.JuiControls.TJuiDialog" /> - <a href="http://api.jqueryui.com/dialog/">jQuery UI API</a>

<p class="block-content">
<tt>TJuiDialog</tt> is an extension to <a href="?page=ActiveControls.ActivePanel">TActivePanel</a> based on jQuery-UI's <a href="http://jqueryui.com/dialog/">dialog</a> widget.
</p>

<p class="block-content">
TJuiDialog is an extended TActivePanel that shows an dialog. The dialog may contain buttons that can fire callback events.
</p>

<p class="block-content">
The dialog may contain one or more <tt>TJuiDialogButton</tt> Controls.
The buttons may contain a callback that will be fired when they are clicked.
</p>


<com:RunBar PagePath="JuiControls.Samples.TJuiDialog.Home" />
<br/>

</com:TContent>