Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Datagrid events refuse to fire

Reply
Thread Tools

Datagrid events refuse to fire

 
 
Simon Storr
Guest
Posts: n/a
 
      07-15-2003
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 ( 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
Mainage_Load
Main:LoadMainForm
Main: Added Page Frame
PageFrame:Init <----- the parent usercontrol
PageFrameage_Load
PageFrame: CreateChildControls
IndexTab:OnInit - <---- index tab usercontrol - its
events fire ok!
IndexTabage_Load
SDADataListGrid: OnInit <------- the grid usercontrol
SDADataListGrid: Added Edit Event <------ event is being added
but won't fire (
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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Events refuse to fire when using master pages saturday@gmail.com ASP .Net 6 07-06-2007 04:29 PM
Events Events Events Please Help Chris ASP .Net Web Controls 0 08-30-2005 08:21 PM
Dynamic Datagrid does not fire events. Mark ASP .Net 6 08-03-2003 06:35 PM
Datagrid events refuse to fire (pt 2) Simon Storr ASP .Net Datagrid Control 2 07-16-2003 04:12 PM
how to fire events of dropdownlist in datagrid Balaji ASP .Net 1 06-26-2003 12:57 PM



Advertisments