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.