CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.

YesSoftware Forums -> CodeCharge Studio -> ASP.NET - InMotion Framework

 Custom code after record deleted in Editable Grid

Print topic Send  topic

Author Message

Posts: 191
Posted: 10/25/2009, 10:03 PM

I need to execute some custom code after a record is deleted based on the primary key of the record deleted. How to I obtain the primary key value of the row that was deleted from the After Execute Delete event of an editable grid?

View profile  Send private message

Posts: 191
Posted: 10/26/2009, 7:03 PM

The following worked for me in the After Execute Delete event of the Editable Grid.

Dim TemplatePageID As String  
TemplatePageID = IS_TemplatePages.GetControl(Of MTTextBox)("TemplatePageID").GetText().Value  
If Not String.IsNullOrEmpty(TemplatePageID) Then  
   Dim path As String = ConfigurationManager.AppSettings("ServerPath") + "/innersight_template_pages/" + TemplatePageID + ".pdf.resources"  
   Dim file As New System.IO.FileInfo(path)  
   If (file.Exists) Then  
   End If  
End If  

View profile  Send private message

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.