[CLOSED] PanelBase.Load hides Control.Load Event

  1. #1

    [CLOSED] PanelBase.Load hides Control.Load Event

    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?
  2. #2

    RE: [CLOSED] PanelBase.Load hides Control.Load Event

    Hi Randy,

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


    Geoffrey McGill
    Founder
  3. #3

    RE: [CLOSED] PanelBase.Load hides Control.Load Event

    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
    Founder
  4. #4

    RE: [CLOSED] PanelBase.Load hides Control.Load Event

    Please see Version 0.8 Breaking Changes for more information...

    http://forums.ext.net/showthread.php...1993-12-1.aspx



    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] Iframe Load event
    By caha76 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 26, 2011, 7:54 AM
  2. [CLOSED] Stop treepanel to load data on page load
    By inayath in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 11, 2011, 10:17 AM
  3. Replies: 7
    Last Post: Sep 22, 2010, 8:07 AM
  4. how to load data to grid panel in page load
    By andylaiyongsing in forum 1.x Help
    Replies: 1
    Last Post: Apr 16, 2010, 10:27 AM

Posting Permissions