Is there a method that returns a System.Web.UI.Page class given an URL?
- by Aheho
I'd like to be able to determine what class will be called given an URL.
For instance,
I have a page /First.aspx that has a hyperlink to /Second.aspx
In the code behind for First.aspx.cs, I'd like to be able to determine what class will execute if someone clicks on the hyperlink that points to /Second.aspx.