Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: Triggering DataList Event from outside the DataList


Message #1 by "Pradeep Kini" <PradeepKini@h...> on Mon, 12 Aug 2002 00:26:03
Is it possible to expose a function 
or a Datalist/Datagrid event handler like say

DoItemUpdate ( Sender, Eventargs ) to be used in another 
another page or user control

The DoItemUpdate is attached to the OnItemUpdate event of 
the Datalist.

I know that the DoItemUpdate can be a Public function and 
it will be accessible but the problem is what do I pass 
for the arguments Sender and Eventargs so that the code 
within the DoItemUpdate actually work as though it was 
triggered when an update button was clicked from within 
the datalist.

Any help will be appreciated.


  Return to Index