Configuration in the mobilecontrols section of the web. config file

Source: Internet
Author: User
Note the following when using custom controls:
There is a registration declaration in the aspx file:
<% @ Register tagprefix = "Acme" namespace = "Acme" assembly = "Acme" %>
Add:
<Mobilecontrols>
<Device name = "htmldeviceadapters2" inheritsfrom = "" htmldeviceadapters ">
<Control name = "Acme. timerformcs, Acme" adapter = "Acme. htmltimerformadaptercs, Acme"/>
</Device>
</Mobilecontrols>
Name = "X, Y" X indicates the type name of the Control. y indicates the name of the assembly to be confirmed)

 

Container Control

Template

Remark

Form

Header Template

Content in headertemplate will be displayed at the beginning of form mark <form... Id = "form1"> {header content}

Footer Template

Content in footertemplate will be displayed before the form Mark ends {footer content} </form>

Panel

Contenttemplate

The content in contenttemplate is displayed as the content of the Panel.

List

Headertemplate

The content in headertemplate is displayed at the beginning of the list. In paging mode, headertemplate is displayed at the beginning of the list on each page.

Footertemplate

The content in footertemplate is displayed at the end of the list. In page mode, footertemplate is displayed at the end of the list on each page.

Itemtemplate

The content in itemtemplate will be rendered as each item in the list.

Alternatingitemtemplate

If alternatingitemtemplate is defined, the content in itemtemplate and alternatingitemtemplate will be cross-rendered as each item in the list.

Separatortemplate

The content in separatortemplate is displayed as the interval between consecutive items.

Objectlist

Headertemplate

Same as list

Footertemplate

Same as list

Itemtemplate

Same as list

Alternatingitemtemplate

Same as list

Separatortemplate

Same as list

itemdetailstemplate

objectlist is used to represent complex objects, in itemdetailstemplate, you can customize the object details

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.