T
ThunderMusic
Hi,
I always refer to this page to know the order of events in a page :
http://weblogs.asp.net/jeff/archive/2004/07/04/172683.aspx but this time,
I'm mystified...
I have a Control called "ImagePreloader" I placed in the head of my
MasterPage (aspx)... in the Init of the "ImagePreloader", I put the
instance in the HTTPContext.Current.Cache... and provide a static method so
other controls can have access to the ImagePreloader... On a P IV 3Ghz,
WinXP Pro SP2, IIS 5, everything works fine... On a P III 1Ghz, WinXP Pro
SP2, IIS 5, It sometimes happen that when other controls want to get the
instance in their PreRender events (so way after the OnInit), the instance
has never been created... If I put a breakpoint in the OnInit of the
ImagePreloader, it never gets there even tought it's a control in the aspx
of the masterpage... Maybe it's not related to speed at all, but I really
don't know what can cause this...
can anyone help me please?
Thanks
ThunderMusic
I always refer to this page to know the order of events in a page :
http://weblogs.asp.net/jeff/archive/2004/07/04/172683.aspx but this time,
I'm mystified...
I have a Control called "ImagePreloader" I placed in the head of my
MasterPage (aspx)... in the Init of the "ImagePreloader", I put the
instance in the HTTPContext.Current.Cache... and provide a static method so
other controls can have access to the ImagePreloader... On a P IV 3Ghz,
WinXP Pro SP2, IIS 5, everything works fine... On a P III 1Ghz, WinXP Pro
SP2, IIS 5, It sometimes happen that when other controls want to get the
instance in their PreRender events (so way after the OnInit), the instance
has never been created... If I put a breakpoint in the OnInit of the
ImagePreloader, it never gets there even tought it's a control in the aspx
of the masterpage... Maybe it's not related to speed at all, but I really
don't know what can cause this...
can anyone help me please?
Thanks
ThunderMusic