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.
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.
ASKER
What do you mean by that?
Well I have my control in one of the Repeater's templates if that answers the question?
Well I have my control in one of the Repeater's templates if that answers the question?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, you were right, I only needed to call RaiseBubbleEvent when I fire my event, and then it worked, thanks for the article
Bob