PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

button in ascx not firing on aspx other than reload aspx

 
 
MotorcycleIke
Guest
Posts: n/a
 
      28th Sep 2005
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: aspx ascx and events Andy O'Neill Microsoft ASP .NET 4 5th May 2010 10:18 AM
Re: aspx ascx and events Andy B. Microsoft ASP .NET 0 30th Apr 2010 12:59 AM
firing a button in aspx na Microsoft Dot NET 0 30th Jun 2006 11:17 AM
Button state on aspx page affected by activity within ascx control? KatB Microsoft ASP .NET 0 14th Jun 2005 09:08 PM
aspx and ascx rom Microsoft ASP .NET 3 24th Nov 2004 09:39 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:31 PM.