For Programmers: Free Programming Magazines  


Home > Archive > C# > September 2005 > button in ascx not firing on aspx other than reload aspx









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author button in ascx not firing on aspx other than reload aspx
MotorcycleIke

2005-09-28, 6:59 pm

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com