Mobile vs Web

Embed Size (px)

Citation preview

  • 7/31/2019 Mobile vs Web

    1/2

    Comparing Web Controls and Mobile

    Controls

    ASP.NET Mobile Web Forms are based on ASP.NET Web Forms Pages. ASP.NET mobilecontrols provide a flexible toolset that enables you to create content sites and Web

    applications intended for a wide variety of mobile devices. You can take advantage of theadaptive rendering of the ASP.NET mobile controls while having the flexibility to

    customize the display for specific devices or types of devices, such as a handheld computer

    or a mobile phone.

    The following table provides a side-by-side comparison of the controls used for ASP.NET

    Web server controls and ASP.NET mobile controls.

    Web server control Mobile control Comments or differences

    AdRotator AdRotator Similar functionality. Mobile control adds ImageKey andNavigateUrlKey properties.

    Button, ImageButton,

    LinkButton

    Command Mobile control combines the functionality of the Web

    Forms Button, ImageButton, and LinkButton controls.

    Calendar Calendar Similar functionality. Mobile control does not provide

    HTML-specific properties directly but exposes an

    underlying Web Forms Calendar control through theWebCalendar property.

    [no equivalent control] PhoneCall Used to actively drop the data line and initiate the call on

    dial-capable devices. This is similar to the use of the

    mailto scheme for electronic mail addresses, which starts

    your e-mail client.

    CompareValidator CompareValidator Validation is identical.

    CustomValidator CustomValidator Validation is identical.DataList, Repeater List Similar functionality. Mobile control can apply templates

    on a per-device basis.

    DataGrid ObjectList Similar functionality. The ObjectList control provides

    multiple views to show the data collections

    [no equivalent control] DeviceSpecific Used to enable property overrides and templates for

    mobile controls.

    [no equivalent control] Form Similar to a page in an ASP.NET Web application.Mobile Web Forms pages can contain multiple Form

    controls.

    Image Image Similar functionality. Mobile control can select an image

    from a set of device-specific images.

    Label Label Same functionality.

    Hyperlink Link ASP.NET cannot render the mobile control as an image.

    Use the Image control to create an image link (by

    specifying theNavigateUrl property on the Image

    control).

    Panel Panel Mobile panels can be used to provide device-specific

    rendering by using the ContentTemplate device

    templates to replace the panels.

    RangeValidator RangeValidator Validation is identical.

    http://msdn.microsoft.com/en-us/library/aa709930(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa695828(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/1z8fsbyh(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/1cd4z1zs(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa650535(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa650491(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa650495(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/db330ayw(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa650547(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa695205(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa651103(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa695848(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa695252(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa650922(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa695606(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa651085(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa651095(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa695829(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa710225(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa710288(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa709930(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa695828(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/1z8fsbyh(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/1cd4z1zs(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa650535(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa650491(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa650495(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/db330ayw(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa650547(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa695205(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa651103(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa695848(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa695252(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa650922(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa695606(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa651085(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa651095(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa695829(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa710225(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa710288(v=vs.71).aspx
  • 7/31/2019 Mobile vs Web

    2/2

    RegularExpressionValidator RegularExpression

    Validator

    Validation is identical.

    RequiredFieldValidator RequiredFieldValid

    ator

    Validation is identical.

    CheckBox, CheckBoxList,

    DropDown, DropDownList,

    ListBox, RadioButton,RadioButtionList

    SelectionList Mobile control combines the functionality of the

    corresponding ASP.NET Web server controls. Use the

    SelectType property (and the associated ListSelectTypeenumeration) to define the type of selection list button torender. For example, setting the SelectionList control's

    SelectType property to the CheckBox enumeration

    corresponds to the ASP.NET Web server controlsCheckBox and CheckBoxList; Dropdown is the same asDropDown and DropDownList. Use the Rows property

    to specify the number of items shown in the list when theSelectType property is the ListBox or

    MultiSelectListBox control.

    [no equivalent control] StyleSheet Web Forms use cascading style sheets rather than

    StyleSheet controls.

    Table [no equivalent

    control]

    Use the List, ObjectList, and SelectionList mobile

    controlsTextBox TextBox Similar functionality. Mobile control does not provide

    automatic postback, read-only, or multiline functionality.

    [no equivalent control] TextView Used to display large blocks of text. Supports basic text

    formatting.

    ValidationSummary ValidationSummar

    y

    Same functionality. Mobile control shows error messages

    of validators on a particular form (through the

    FormToValidateproperty).

    http://msdn.microsoft.com/en-us/library/aa710305(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa710305(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa710797(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa710797(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa710904(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa710816(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa710979(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa711093(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa711212(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/dd5c6s6h(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa711319(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa711319(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa650928(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa650928(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa710305(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa710305(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa710797(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa710797(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa710904(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa710816(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa710979(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa711093(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa711212(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/dd5c6s6h(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa711319(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa711319(v=vs.71).aspxhttp://msdn.microsoft.com/en-us/library/aa650928(v=vs.71).aspx