I am working on asp.net website, having large number of user controls(ascx) and webforms(aspx). I am facing problem while I need to find references of any specific user control (where it is used in another controls or other webforms).
By Right click on user control's class name, and click on Find All References only finds the references that used in .cs files, it did not find the control's usage in aspx or ascx files.
Can any body suggest is there any way to find the usage of my control. or visual studio does not support any such functionality yet.
aspx: The file extension of Web page. webpage provides a graphical user interface (text, images, buttons, etc.), using which you can design the page which will be rendered to user on browser. . ascx: The file name extension for the user control.
Notice that the user control looks much like an ASP.NET page — it contains several controls (a TextBox control and two Button controls) and code that handles the buttons' Click events and the page's Load event.
ReSharper can do this for you. Do rightclick -> "find usages" in any of the .aspx, .ascx or .cs files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With