Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to Bubble an event from a dynamically created user control.

Reply
Thread Tools

How to Bubble an event from a dynamically created user control.

 
 
Atif Jalal
Guest
Posts: n/a
 
      05-26-2004
I have a usercontrol which I add to the page the aspx page at runtime.
This control is dynamically created multiple times in the page and
added to a placeholder. This user control also has some events which I
would like to bubble it to the page on which the control is added.

So how do i initiale the event in InitializeComponent of the aspx page
containg the user control?
e.g BubbleControl.BubbleClick += new
EventHandler(WebForm1_BubbleClick);
 
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
Affecting a dynamically created drop down from another dynamically created drop down. msimmons ASP .Net 0 07-16-2009 03:17 PM
Re: C++ priority queue with bubble-up and bubble-down? mlimber C++ 0 08-05-2008 06:53 PM
user control event bubble =?Utf-8?B?cm9kY2hhcg==?= ASP .Net 0 10-24-2007 04:31 PM
Managing ViewState of a dynamically created Custom Composite Server Control -(where the original is also dynamically created) dickster ASP .Net Building Controls 0 12-08-2005 09:32 AM
How to Bubble an event from a dynamically created user control. Atif Jalal ASP .Net Web Controls 2 05-27-2004 06:51 AM



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