SitePoint Sponsor

User Tag List

Results 1 to 1 of 1
  1. #1
    SitePoint Evangelist praetor's Avatar
    Join Date
    Aug 2005
    0 Post(s)
    0 Thread(s)

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts