The dbo.ModuleControls table in the DotNetNuke database lists the .ascx user controls available for use in a DotNetNuke application. See the ControlSrc column for the routes to the .ascx files. (In a DotNetNuke application there will be a DotNetNuke database and then a separate application-specific database.) DotNetNuke applications will have a "host" user which is the superadmin of sorts. If you log into the app as the host user and navigate about your site you will see a bar of administrative controls at the top the application which you would not otherwise see as a regular user. There will also be a downward pointing arrow at the upper left within the page content. (Again, not every user gets this.) Clicking it expands a menu. Pick "Settings" from the menu. You will see a value for "Module" at the page you end up at. Search for the value in Visual Studio. You should find in inside of the .ascx used on the page. This is a way to figure out what .ascx corresponds to a route at the URL line.
Addendum 4/8/2013: You cannot always find an .ascx with this trick. See this for a way to find a .dnn file and then an .ascx file.
No comments:
Post a Comment