Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Events doesn't fire up for buttons in a web usercontrol - Help

Reply
Thread Tools

Events doesn't fire up for buttons in a web usercontrol - Help

 
 
KK
Guest
Posts: n/a
 
      01-22-2005
Hi



I have a main page called lobby.aspx.
lobby have the main menu. below that
I loads web user controls (ascx) according
to the selected main menu (into a placeholder).

Some of my ascx, in turn loads other ascx.
So, for example, when I click a button in lobby.aspx,
I load ascx A into lobby.aspx placeholder, and ascx A
loads ascx B in to ascx A's placeholder control.

The problem is, button events (for submit buttons) in
ascx A or B doesn't get fired.
Once clicked, lobby.aspx page_load
event gets executed. it doesn't go to ascx files
code in A or B click events when required.

Then I created a options.aspx page.
from lobby.aspx, when the [options] clicked
I do a Server.Transfer (options.aspx) In the
page_load event of options.aspx, I load ascx A.
and ascx B into A. Now, button events for ascx
A works ,but events for ascx B doesn't work!!!!
If I load ascx into a seperate aspx they also work!!!!

what am I doing wrong? how to avoid it?

rgds
KK



 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Events Events Events Please Help Chris ASP .Net Web Controls 0 08-30-2005 08:21 PM
Events doesn't fire up for buttons in a web usercontrol - Help KK ASP .Net 0 01-22-2005 12:22 PM
Events doesn't fire up for buttons in a web usercontrol - Help KK ASP .Net Building Controls 0 01-22-2005 12:22 PM
UserControl - Doesn't fire child events Q Dennis ASP .Net Web Controls 1 09-20-2004 07:21 PM
Adding buttons to a datagrid doesn't fire its events Andrés Giraldo ASP .Net Datagrid Control 0 09-19-2003 03:13 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57