cvboucher
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
file.Delete()
End If
End If
Craig
|