Hi All
Each of my .ASPX pages inherits from 1 of 2 available base pages, each of which makes up part of a chain.
For example, I have 2 web pages:
Page1.aspx which inherits from CustomBasePage1
and
Page2.aspx which inherits from CustomBasePage1 which inherits from CustomBasePage2
In my CustomBasePage1, I have a method which takes a different action depending on which class the .aspx page inherited from.
How can I determine if the .aspx page inheritted from CustomBasePage1 OR CustomBasePage2
TIA
Smeat
Each of my .ASPX pages inherits from 1 of 2 available base pages, each of which makes up part of a chain.
For example, I have 2 web pages:
Page1.aspx which inherits from CustomBasePage1
and
Page2.aspx which inherits from CustomBasePage1 which inherits from CustomBasePage2
In my CustomBasePage1, I have a method which takes a different action depending on which class the .aspx page inherited from.
How can I determine if the .aspx page inheritted from CustomBasePage1 OR CustomBasePage2
TIA
Smeat