Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: bubbling an event of dynamically loaded user control


Message #1 by "tejas joshi" <tvj08@y...> on Sat, 29 Jun 2002 05:04:53
hello everybody,

                            Recently i've been working with user control
which contains input controls asking billing data to a user. i want to
submit this data to the database on click event of 'Save' button (of
course)...

                            but I'm adding this user control dynamically to
the page depending upon which radio button is clicked in a radio button 
list
on the main page..

setting autopostback = true for radiobuttonlist i'm using
selectedindexchanged event of radiobuttonlist to load the user control...

'Save' button is in the usercontrol file...Being given all this description
, when it is clicked the click event is not being fired..

.if i need to handle the event on main page .. bubbling of the click event
is required ..but as click event of button not getting fired , i can't 
raise
bubble event..

I searched newsgroup for this problem and i got one post by Mark
Kamoski...at url : www.dotnet247.com/247reference/msgs/17/88363.aspx ..

but this discussion doesnt' seem to end in some meaningfull solution...can
Mark Kamoski or Victor Garcia Aprea or anybody else can redirect me to
useful resource on above problem.. or explain me how to do it...

I've gone through MS DOC for event bubbling but that doesn't seem to 
address
my problem...

any help will be greatly appriciated..


  Return to Index