Custom button control
I'm trying to implement a custom button that has a non standard rendering (instead of an input tag it renders a span with an input inside). I've implemented the IPostBackEventHandler and IButtonControl but with no success when I click on it. The click event doesn't fire up. I've pasted the example from MSDN and it doesn't work either. But the <asp:Button> works normally.
How can I solve this?
I was using ClientID instead of UniqueID as the button's name. SO instead of ctl00$btn, it was ctl00_btn .