I have an ASPX page with no code behind (that is, no .aspx.cs with the same name). In the code is this line:
<div style="overflow: hidden; text-align: center; z-index: 105;">
<%= MainNavBarHTML %><%= SubNavBarHTML %>
</div>
I’ve searched the rest of the program for MainNavBarHTML and SubNavBarHTMl, but can’t find any reference to them. How do I find what fills those elements?
Adding this as an answer now (rather than in the comments).
Your project will have the code somewhere, though it may be part of another library (DLL).
If you right-click on the property (in this case either
MainNavBarHTMLorSubNavBarHTML, and from the context-menu select “Go to definition” VS will show you either the code (if it’s in a *.cs page) or load the object browser and navigate to that property, allowing you to see exactly where the property is located.Depending on your VS settings F12 may do nothing – does nothing on mine for example. Right-clicking and choosing “Go to definition” is the most stable way to navigate – in my opinion.