Datagrid events refuse to fire

Discussion in 'ASP .Net Datagrid Control' started by Simon Storr, Jul 15, 2003.

  1. Simon Storr

    Simon Storr Guest

    I cannot for the life of me get any of my datagrid's events to fire. The
    grid is within a usercontrol and is static on the page. The grid usercontrol
    is in turn contained within a parent usercontrol. OnInit /
    InitialiseComponent for the control is getting called correctly but none of
    the events will fire :eek:( All other events I set up at the same time will
    fire ok. Here is a debug of the page events as they occur -

    Main:Main_Init <----- the main page
    Main:page_Load
    Main:LoadMainForm
    Main: Added Page Frame
    PageFrame:Init <----- the parent usercontrol
    PageFrame:page_Load
    PageFrame: CreateChildControls
    IndexTab:OnInit - <---- index tab usercontrol - its
    events fire ok!
    IndexTab:page_Load
    SDADataListGrid: OnInit <------- the grid usercontrol
    SDADataListGrid: Added Edit Event <------ event is being added
    but won't fire :eek:(
    SDADataListGrid: Added Sort Event
    SDADataListGrid: Init
    SDADataListGrid: PageLoad
    Main:Main_PreRender
    ..
    ..

    I've tried assigning the events statically and dynamically, in PageLoad,
    PageInit etc. and nothing will work... It works if its a simple page but
    not in a usercontrol.

    help!

    Simon
     
    Simon Storr, Jul 15, 2003
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Balaji
    Replies:
    1
    Views:
    3,433
    Saravana
    Jun 26, 2003
  2. Mark
    Replies:
    6
    Views:
    701
    S. Justin Gengo
    Aug 3, 2003
  3. David Rose

    DataGrid edit events fire twice

    David Rose, Dec 14, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    785
    Microsoft
    Jan 13, 2004
  4. =?Utf-8?B?T2Zlcg==?=

    Causing events to fire in a datagrid

    =?Utf-8?B?T2Zlcg==?=, Apr 4, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    468
    =?Utf-8?B?T2Zlcg==?=
    Apr 5, 2005
  5. Replies:
    6
    Views:
    576
  6. Simon Storr

    Datagrid events refuse to fire (pt 2)

    Simon Storr, Jul 16, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    222
    Simon Storr
    Jul 16, 2003
  7. Jean-Pierre Fouche

    Dynamic Datagrid with TextBoxes Textchanged events wont fire

    Jean-Pierre Fouche, Jul 28, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    322
    Cristian Suazo
    Jul 29, 2003
  8. Chris

    Events Events Events Please Help

    Chris, Aug 30, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    653
    Chris
    Aug 30, 2005
Loading...