c# - How to know which page has called the Usercontrol -


i have usercontrol(.ascx) page used 10 pages display in common. in control should know aspx page using(or calling). how possible?

thank in advance!

you can check request.url or (page)httpcontext.current.handler.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -