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
Post a Comment