![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi I have a page (aspx) which contains many ascx controls. One of the ascx controls has a date-selection control, and when this is changed some of the other ascx's have to respond by changing their display appropriately. What is the best way of achieving this? Presently, in the "date selection" control, I fire an event when the date selection changes. The main page (aspx) subscribes to this event (from which it obtains the new date), and then calls special public methods on the other ascx's to supply them the date. Is this an ok method? It means the aspx has to know all its child ascx's which need to know the new date. Is it possible to fire another event in the aspx, which the relevant child ascx's subscribe to? Thanks, Peter |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |