Jump to content
Software FX Community

Handling Events for OnItemDeleting


Recommended Posts

I am having trouble with the OnItemDeleting event handler.  I have an unbound grid that is being populated programmatically and need to handle the delete event.  Specifically, I need to determine the grid row that is being deleted.  How do I use the deleting event args to determine the item that is being deleted? 

protected void Grid1_ItemDeleting(object sender, GridFX.WebForms.GridItemDeletingEventArgs e)


// Delete action goes here.


Also where can I find documenation for the OnItemInserting, OnItemUpdating and OnItemDeleting event handlers?


Link to comment
Share on other sites


The GridItemDeletingEventArgs has an Item property which points to the GridItem being deleted. 


If you do not see that, it's almost certainly because you don't have the latest version.  You can get it from the Check for Updates smart tag in Visual Studio or from http://support.softwarefx.com/ShowInteractive.aspx?Product=GridFX10&option=0

The documentation should be updated as well.  Our offices are closed right now so as soon as we open back up I'll get back to you on that.

Thanks for using Grid FX!  Let me know how it goes.

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...