+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Button events not firing

Button events not firing

2 posts, 0 answered
  1. Tristan
    Tristan avatar
    22 posts
    Registered:
    30 Mar 2009
    08 Jun 2010
    Link to this post
    I've got a very strange problem that only seems to be happening once i upload my custom control to sitefinity. When I click a button in my control a post back occurs like expected but the code inside the click method doesn't appear to be firing. Almost as if something is stealing the event code.

    I tried to add a very simple new control with just a button that set a Response.Write call and wrote to a labels text property but all that appears to happen is a post back.

    Are there any settings in the config or anything else I should be doing so custom controls can use button events?
    The page_load and page_init events are working fine.

    Thanks
  2. Tristan
    Tristan avatar
    22 posts
    Registered:
    30 Mar 2009
    08 Jun 2010
    Link to this post
    This can be ignored. There was a method on the master page that was playing with the controls which messed with the events.

    Mods, you can delete this if you want.
2 posts, 0 answered