J
John Smith
Is there a way to programmatically retrieve the current executing ASCX file
(similar to Request.PhysicalPath())?
Scenario:
- User goes to http://.../default.aspx
- Within the default page I have a web user control page executing. If I
put the Request.PhysicalPath within the CodeBehind for the ASCX file, then I
get "c:\...\default.aspx". But what I really want is
"c:\...\MyUserControl.ascx".
Any ideas how to do this?
(similar to Request.PhysicalPath())?
Scenario:
- User goes to http://.../default.aspx
- Within the default page I have a web user control page executing. If I
put the Request.PhysicalPath within the CodeBehind for the ASCX file, then I
get "c:\...\default.aspx". But what I really want is
"c:\...\MyUserControl.ascx".
Any ideas how to do this?