I have a master page with a login box on it. Inside the login box is a button -
<asp:LinkButton ID="btnLogin" class="btnLogInOut" runat="server" CausesValidation="true" ValidationGroup="MasterLogin" OnClick="btnLogin_Click"><span></span>Log In</asp:LinkButton>
In the code-behind of the master page is the event handler -
protected void btnLogin_Click(object objSender, EventArgs eArgs)
{
// Stuff happens here
}
NOW ... On my local dev machine this code works fine. The control fires the event and everything is how it should be. When I run this site on a remote web server (tried two of them - both IIS7 running on 2008 R2) the event is never called. I added some logging to see what is happening and the PostBack event on the Master Page does not happen when the bu ...
Go to the complete details ...