RE: Decorating Derived Page Classes with Custom Attributes



Hi Mark,

I just tried your code and it works correctly by returning the
CustomAttribute applied on DerivedPage. Try to inspect this.GetType().Name
property in your BasePage constructor to see if this.GetType() refers to
DerivedPage (it should).

Can you reproduce the issue easily on your side?

Regards,
Walter Wang (wawang@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.


.


Loading