Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I need to know when an event in one user control has been raised and handle it in another, is this possible?
Hi Brendan,
Yes it's possible - have you investigated .net events and delegates ?
These posts might be useful:
http://www.dotnetfunda.com/articles/article201.aspx
http://chiragrdarji.wordpress.com/2007/08/23/raise-event-from-user-control-to-main-page-event-delegation-from-user-control-to-aspx-page-in-aspnetc/
HTH,
Hendy
Yea I was thinking of the pubsub pattern but am unsure how to implement this in Umbraco as I do not have access to the page to hook up the delegates. Have you any ideas?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Is there any way for two user controls to talk to each other?
I need to know when an event in one user control has been raised and handle it in another, is this possible?
Hi Brendan,
Yes it's possible - have you investigated .net events and delegates ?
These posts might be useful:
http://www.dotnetfunda.com/articles/article201.aspx
http://chiragrdarji.wordpress.com/2007/08/23/raise-event-from-user-control-to-main-page-event-delegation-from-user-control-to-aspx-page-in-aspnetc/
HTH,
Hendy
Yea I was thinking of the pubsub pattern but am unsure how to implement this in Umbraco as I do not have access to the page to hook up the delegates. Have you any ideas?
is working on a reply...