Jakob Gade
Jakob Gade

Reputation: 12419

Web user control usage

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. :)

Upvotes: 2

Views: 416

Answers (3)

CM Digital
CM Digital

Reputation: 331

If you have ReSharper 6, then right click on the user control .ascx name in the Solution Explorer and click on "Find Usages" (Alt+F7) or "Find Usages Advanced...".

ReSharper should show you where the user control is being used in the entire solution

Upvotes: 2

TWith2Sugars
TWith2Sugars

Reputation: 3434

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.

Upvotes: 2

Lee Dale
Lee Dale

Reputation: 1196

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

Upvotes: 0

Related Questions