R
richard.haber
I have a situation where there are two controls on the master page: a
tree with a menu structure (whose content and structure is customizable
by each user) and a menu control which displays the structure in a more
styled form.
The menu needs to get data from the tree in order to initialize
properly and can do so only after the tree has been initialized so that
its data is available. I can do this on a regular ASP.NET form since I
can override the PreInitCompleted event at which point the tree control
has been initialized.
The problem is that from the master page, I don't see any events that
fire AFTER the controls are initialized. I can't subclass
System.Web.UI.Page since the end users will not want to mess with the
code-behind to implement a custom Page class. I also want to avoid
coupling the two controls by initializing one from the other which
would require too much knowledge about the specifics of their use.
Any thoughts would be greatly appreciated.
Thanks,
Richard
tree with a menu structure (whose content and structure is customizable
by each user) and a menu control which displays the structure in a more
styled form.
The menu needs to get data from the tree in order to initialize
properly and can do so only after the tree has been initialized so that
its data is available. I can do this on a regular ASP.NET form since I
can override the PreInitCompleted event at which point the tree control
has been initialized.
The problem is that from the master page, I don't see any events that
fire AFTER the controls are initialized. I can't subclass
System.Web.UI.Page since the end users will not want to mess with the
code-behind to implement a custom Page class. I also want to avoid
coupling the two controls by initializing one from the other which
would require too much knowledge about the specifics of their use.
Any thoughts would be greatly appreciated.
Thanks,
Richard