| 1 |
lars |
1 |
<com:TContent ID="body" >
|
|
|
2 |
|
|
|
3 |
<h1>TKeyboard</h1>
|
|
|
4 |
<com:DocLink ClassPath="System.Web.UI.WebControls.TKeyboard" />
|
|
|
5 |
|
|
|
6 |
<p>
|
|
|
7 |
<tt>TKeyboard</tt> displays a virtual keyboard that users can click on to enter input in
|
|
|
8 |
an associated text box. It helps to reduce the keyboard recording hacking.
|
|
|
9 |
</p>
|
|
|
10 |
|
|
|
11 |
<p>
|
|
|
12 |
To use TKeyboard, write a template like following:
|
|
|
13 |
</p>
|
|
|
14 |
<com:TTextHighlighter Language="prado" CssClass="source">
|
|
|
15 |
<com:TTextBox ID="PasswordInput" />
|
|
|
16 |
<com:TKeyboard ForControl="PasswordInput" />
|
|
|
17 |
</com:TTextHighlighter>
|
|
|
18 |
|
|
|
19 |
<p>
|
|
|
20 |
A TKeyboard control is associated with a <tt>TTextBox</tt> control by specifying
|
|
|
21 |
<tt>ForControl</tt> to be the ID of that control. When the textbox is in focus,
|
|
|
22 |
a virtual keyboard will pop up; and when the text box is losing focus, the keyboard
|
|
|
23 |
will hide automatically. Set <tt>AutoHide</tt> to false to keep the keyboard showing all the time.
|
|
|
24 |
</p>
|
|
|
25 |
|
|
|
26 |
<p>
|
|
|
27 |
The appearance of the keyboard can also be changed by specifying a customized CSS file via
|
|
|
28 |
<tt>CssUrl</tt>. By default, the CSS class name for the keyboard is 'Keyboard'. This may
|
|
|
29 |
also be changed by specifying <tt>KeyboardCssClass</tt>
|
|
|
30 |
</p>
|
|
|
31 |
|
|
|
32 |
<com:RunBar PagePath="Controls.Samples.TKeyboard.Home" />
|
|
|
33 |
|
|
|
34 |
<div class="last-modified">$Id: Keyboard.page 2159 2007-08-27 21:23:33Z xue $</div></com:TContent>
|