First of all, "ctlxx" is the prefix of the main control page.

The ASP.NET engine sets runtime ID values ββfor those controls whose identifiers are not explicitly set. It uses the ctlXX naming pattern, where XX is a sequentially increasing integer value. Thus, in the case of nested main pages, you get a prefix like ctlxx , where xx will increase.
The Id control has a prefix for the value of the main page identifier, ctl00 . The net effect is the id attribute value, which consists of the ID values of the master page , the ContentPlaceHolder control, and the control itself.
Conclusion -
Thus, only if the ctlxx prefix is ββchanged does it have sub-master pages for the .aspx page.
For more information, see Identifying a Control ID on Content Pages (C #) .
Parag meshram
source share