Use Debug mode to identify the View/PartialView rendering of the HTML segment. By appending the query string with “?debug=true”, the display enters debug mode. The debug browser view is similar to normal mode, but the source code is changed to help locate the desired component.

Here is an example of the comments introduced in debug mode:

CopyC#
<!-- 
    Begin of Partial View: SelfEditContent.ascx, 
    Instance Name: WelcomeTitle, 
    Instance ID: 53433171-6ac0-48b3-8d8e-278a6095e159
 -->
<span>Ingeniux Sales Extranet Rocks</span>
<!-- 
    End of Partial View: SelfEditContent.ascx, 
    Instance Name: WelcomeTitle, 
    Instance ID: 53433171-6ac0-48b3-8d8e-278a6095e159
 -->

The comments mark the beginning and end of the PartialView “SelfEditContent.ascx”. These matching Instance IDs are helpful in nested views.

Instance Name is used to separate the same type of child views in nest view structure, which is rendered with the “Html.CartellaRenderNested” command.