Is it possible via Inheritance!!!
Hello All,
I have 2 pages which have similar controls, except one page has an extra grid. So to avoid double coding for the common controls, I want to create a common class where I can handle the logics and validations for the common controls,
e.g. both the pages have a label named lblTest, from both the pages the value of lblTest is set to say "Dummy", so rather repeating the code in both the pages, can I create a new class from where I can assign the value of lblTest. Any concept of inheritance can be applied here??
Regards
Mike
__________________
Regards
Mike
|