[CLOSED] [1.0] Add storeRefresh handler at runtime

  1. #1

    [CLOSED] [1.0] Add storeRefresh handler at runtime

    Hello,

    Can I use next code to set the store OnRefreshData handler.?

    St.RefreshData += new Store.AjaxRefreshDataEventHandler( St_RefreshData );
    
    void St_RefreshData( object sender, StoreRefreshDataEventArgs e )
    {
          throw new NotImplementedException( );
    }
    Thanks
    Last edited by Daniil; Oct 28, 2010 at 12:11 PM. Reason: [CLOSED]
  2. #2
    Hi,

    It works.

    You could write just:
    St.RefreshData += St_RefreshData;
  3. #3
    Hi Daniil,

    Thanks so much.

Similar Threads

  1. Replies: 1
    Last Post: May 09, 2012, 7:08 PM
  2. [CLOSED] Deactivate tab at runtime
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Nov 24, 2011, 4:07 PM
  3. [CLOSED] Fn vs Handler (when to use Fn and Handler)
    By hgouw in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 21, 2011, 1:39 AM
  4. [CLOSED] [1.0] Set control ID at runtime
    By edigital in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 14, 2010, 5:23 PM
  5. [CLOSED] Runtime adding Tab
    By methode in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 10, 2009, 3:38 PM

Posting Permissions