I'm trying to create a web control button that will change images when you
hover over it. So I created a Web Control project and modified the default
web control to inherit from WebControls.ImageButton..
But it renders as a textbox when I put it on a web form. I even added code
to make sure that the render and onPreRender events are falling back to
MyBase.
(The HTML in the end user browser doesn't have a type attribute in the
html... Shouldn't that come from the parent ImageButton control?)
How do you get a custom web control to inherit?
Thanks.
Jerry