Results 1 to 1 of 1
Thread: Custom button control
Oct 24, 2007, 02:16 #1
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 .
Last edited by praetor; Oct 24, 2007 at 03:25. Reason: Problem solved