dWebSpec Dictionary
CONTEXT: descriptors->element->type-cat-input




All Details Standard Only Platform Only
Structured Web info and helpTechnologies
 Home Page
 Product Page
 Download Page
 Feedback
Javascript Tree Menu

Results for:

 element.type-cat-input 
Prev  Topic  Next

Input

This category covers elements that render HTML input form elements. Excluded from this list are the input elements that involve selection; see the selection category for those.

 ASP.NET  
The list of elements of the input type is shown in the table below.

Element Type

Source Content Representation

Web Controls

file

<input type="file" name="theFile" maxlength="5000"/>

asp:FileUpload

hidden

<input type="hidden" name="property-name"/>

asp:HiddenField

inputText

<input name="txt1" type="text" id="txt1" />

asp:TextBox

password

<input name="txt2" type="password" id="txt2" />

asp:TextBox TextMode="Password"

textarea

<textarea name="txt1" rows="2" cols="20" id="txt1" >Hello World!</textarea>

<asp:TextBox id="txt1" Text="Hello World!" TextMode="MultiLine" Height="50" runat="server" />

The specification of inputs involves their representations in the source content, as shown in the table above, and descriptor entries as shown below.

ELEMENT DESCRIPTORS

id

caption

type

value

component-id

conversion-type

validators

formatter

required

visible

enabled

group-id

spec-scope

txtEditName {invoiceForm.depAmt} inputText {invoiceForm.ProductName}   string             page

The implementation could then appear as shown below:

  <asp:TextBox id="txtEditName" runat="server"
         Text='<%# Bind("ProductName") %>' />

The attributes shown below are specific to the input elements (except for the file type), for the full complement of the attribute mapping consult the overview section of the element descriptor.

Event Descriptor Attributes

ASP Command   Attributes

ASP.NET Component Attribute

source-element

OnTextChange

Follow the caption attribute of the descriptor for information on implementation. The example above uses a minimal set of attributes; information on the implementation of all the attributes is provided under the description of each attribute.

Prev Next