For getting the Base Class Name

T

thomson

Hi all,
i do have a class


class Page: CustomPage
{

}

and i do have some other class

class Page1:CustomPage1
{
}

I do have a seperate control where i pass (this.page)

Here the case is regardless of the base class iam passing the
this.page, But i need to know which class Iam deriving from, that is i
need the base class of the page


ie: from this.page i should know that whether it is from Custom Page or
Custom Page 1, i need the name

thanks in advance
regards

thomson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top