Is there a method that returns a System.Web.UI.Page class given an URL?
Posted
by Aheho
on Stack Overflow
See other posts from Stack Overflow
or by Aheho
Published on 2010-04-17T18:50:23Z
Indexed on
2010/04/17
18:53 UTC
Read the original article
Hit count: 181
ASP.NET
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.
© Stack Overflow or respective owner