I have buttons in a ascx control in a panel. This control is loaded
onto all my forms as a header. The click actions of the buttons don't
go to the code in the ascx file. I have a breakpoint set in one and it
never gets there. The other buttons aren't coded yet; if I can't get
one to work, I'll scrap the idea and put buttons individually on all the
forms.
I have a logout button which has the following code (from my memory, I'm
not at work):
Application.Signout();
Response.Redirect("login.aspx");
Instead of that, the button just reloads the form that has the control
in the header.
What can I do to make this work?
Thanks
|