Custom web control in a repeater

J

jw56578

If i create a custom web user control and place this into a repeater,
what event must be raised to be recognized by the repeater and raise
the ItemCommand event?
 
B

Brock Allen

The Button's Command event is what gets bubbled up to the Repeater. The way
it's implemented is that the Button detects his own postback and then calls
RaiseBubbleEvent. This calls up the parent control hierarchy until somebody
handles the event.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top