I would like to determine the class name of an aspx page from a user control. How can i do this?
this.Page.GetType().AssemblyQualifiedName
It gives the class name of the page.
It gives you a class name with a namespace.
I cannot come up with a usage example, but try:
string name = Page.GetType().Name;