[SOLVED] PanelBase.Load hides Control.Load Event
New Community Forums available at http://forums.ext.net
 

Coolite Forums

Welcome Guest ( Login | Register )
 
[SOLVED] PanelBase.Load hides Control.Load...
Subscribe
Last Login: 6/28/2010 9:39:16 AM
Posts: 305,
Posted 4/4/2009 9:33:33 PM

Group: Coolite Premium Member & Early Adopter
The PanelBase.Load methods are defined as 'new', which is overriding the base Control.Load event.  The Panel control has the Init & PreRender events, but the Load event is not available in codebehind for Panels.

Shouldn't the PanelBase.Load methods be renamed to something like PanelBase.LoadPanel so they don't hide the base .Load event?
Randy B.
Last Login: 7/8/2010 1:50:34 AM
Posts: 4,722,
Posted 4/6/2009 8:01:37 AM

Group: Core Development Team
Hi Randy,

I'm looking into your suggestion. Thanks for pointing out the .Load issue. 

--
Geoffrey McGill
Coolite Inc.
Development Team
Skype : geoffrey.mcgill
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 7/8/2010 1:50:34 AM
Posts: 4,722,
Posted 4/21/2009 8:08:26 PM

Group: Core Development Team
Hi Randy,

I've changed the .Load() Method to .LoadContent().

Unfortunately this requires a breaking change for the v0.8 release. It was a mistake to originally override the native .Load() Event/Method.

I've also added the .loadContent() function in the client-side API.

Thanks again for pointing out the conflict.

--
Geoffrey McGill
Coolite Inc.
Development Team
Skype : geoffrey.mcgill
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 7/8/2010 1:50:34 AM
Posts: 4,722,
Posted 4/21/2009 8:36:53 PM

Group: Core Development Team
Please see Version 0.8 Breaking Changes for more information...


--
Geoffrey McGill
Coolite Inc.
Development Team
Skype : geoffrey.mcgill
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
« Prev Topic | Next Topic »
Reading This Topic
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.
All times are GMT -5:00, Time now is 4:41pm