What are the meanings of the controls in Asp.net!

Source: Internet
Author: User

ID
: The stone symbol provided by the user to the control for accessing the control. The page framework uses the value of ID and the position in the space tree to generate clientid and uniqueid.

Clientid: The unique stone symbol assigned to the control by the Asp.net page framework and displayed in the form of html id attribute.
Whether or not you have specifiedIDProperties, ASP. NET are automatically generated for the server controlClientid.


Uniqueid: The unique stone mark that is assigned to the control by the page frame. The restricted level mainly refers to the child controls of DataGrid, datalist, datarepeater, and other controls. Obviously, DataGrid, datalist, and datarepeater are a container. Then their internal controls should have different IDs, as shown below:
Datalist1: _ ctl0
Datalist1: _ ctl1
Datalist1: _ ctl2

Related Article

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.