Hello,
I have a user control in a master page and the same user control directly in the aspx. The user control in the master page works fine, but when I try the user control that is embedded directly in the aspx page, it doesn't work. The user control is 2 textboxes with a login button. What it looks like it is trying to do is when I enter my username and password for the embedded user control, it sees that the user controls textboxes that are in the master page are blank and it complains. Is there a way to handle this properly?
The event handler for the user control that is embedded directly in the page is not being called.
Here is the button for the login control:
<asp:ImageButton ID="ibtnLoginButton" runat="server" CommandName="Login"
ImageUrl="~/images/sign-in.png"
ValidationGroup="ctl00$Login1" OnClick="LoginButton_OnClick"
meta:resourcekey="LoginButtonResource1" />