views:

69

answers:

2

Is there a simple way to determine where web user controls (wuc) are used in a solution?

I'm trying to get an overview of what's going on in a rather big applications, where I have a large number of wuc's, used both in aspx and nested in other wuc's.

Any suggestions are welcome. :)

A: 

Well a basic solution would be to do a search of the entire solution for ".ascx"

Lee Dale
A: 

In the .cs file right click on the class name and click on "Find Usages".

This should find all designer files of other controls / pages that use that particular control.

TWith2Sugars
I tried that: It seems to give me an incorrect listing, as those places where the controls is not referenced in the code-behind class it doesn't appear.
Jakob Gade