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

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top