views:

64

answers:

2

I would like to assertain the class name of an aspx page from within a user control. How can I go about doing this?

+1  A: 

I can't think of a use case but try:

string name = Page.GetType().Name;
Mehrdad Afshari
+1  A: 
this.Page.GetType().AssemblyQualifiedName
Noon Silk