RE: Decorating Derived Page Classes with Custom Attributes
- From: wawang@xxxxxxxxxxxxxxxxxxxx (Walter Wang [MSFT])
- Date: Mon, 05 Mar 2007 07:23:18 GMT
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.
.
- Follow-Ups:
- Re: Decorating Derived Page Classes with Custom Attributes
- From: Mark Olbert
- Re: Decorating Derived Page Classes with Custom Attributes
- References:
- Decorating Derived Page Classes with Custom Attributes
- From: Mark Olbert
- Decorating Derived Page Classes with Custom Attributes
- Prev by Date: Re: Decorating Derived Page Classes with Custom Attributes
- Next by Date: Why can't user controls be compiled into DLL and shared with other web applications
- Previous by thread: Re: Decorating Derived Page Classes with Custom Attributes
- Next by thread: Re: Decorating Derived Page Classes with Custom Attributes
- Index(es):
Loading