Link to home
Start Free TrialLog in
Avatar of ID3TECH
ID3TECH

asked on

How can custom Command Control fire Command event in Repeater

Greetings Experts,
I'm trying to do the following:
I have created a control, which has a Command Event.
This Command Event is of type CommandEventHandler.
when I put this control in a repeater, and I call the Command Event, the Repeater does not interpret it's Command event, and will not fire the RepeaterCommand event.

I know I can just add the handler on ItemCreated event, but I wish to know if it is possible to automatically link the Command event of my control to the RepeaterCommand of the Repeater, the same way a Button, LinkButton or ImageButton does.

Thank you experts.
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Are you bubbling the event from the embedded control to the Repeater?

Bob
Avatar of ID3TECH
ID3TECH

ASKER

What do you mean by that?
Well I have my control in one of the Repeater's templates if that answers the question?
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ID3TECH

ASKER

Thanks, you were right, I only needed to call RaiseBubbleEvent when I fire my event, and then it worked, thanks for the article