WhoIsKB - Kevin Blakeley

Public WebLog WhoIsKb() { return "Random experiences with .Net" ; }

<September 2008>
SuMoTuWeThFrSa
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011


Navigation

Tools I Love

Subscriptions

Post Categories



Help with inheritence

Okay C# gurus, I could use your help on this one.  Here is what I am trying to do.  This is my class hierarchy:

MyImageButton
    ImageButton
        Image

Here is what I am trying to do.  In MyImageButton I am going to override AddAttributesToRender on ImageButton as there is some logic in the ImageButton implementation that I don't want executed.  At the same time though I still want to call AddAttributesToRender on Image.  When I am done doing my own implementation of AddAttributesToRender in MyImageButton, I want to skp executing the method on ImageButton, but still want to call the method on Image.

How do I do this?

posted on Wednesday, February 11, 2004 2:05 PM by whoiskb





Powered by Dot Net Junkies, by Telligent Systems