Standard Grid via LINQ DS
<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" ConfirmDialogType="RadWindow" ConfirmText="Are you sure? Delete means delete." />
Fires every time faithfully in IE 7. In FF 4.0 it fails miserably. Ideas/Workarounds?
<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" ConfirmDialogType="RadWindow" ConfirmText="Are you sure? Delete means delete." />
Protected
Sub
ReportGrid_ItemCommand(
ByVal
source
As
Object
,
ByVal
e
As
Telerik.Web.UI.GridCommandEventArgs)
Handles
ReportGrid.ItemCommand
If
e.CommandName =
"Delete"
Then
Dim
filepath
As
String
= (
CType
(e.Item, GridDataItem)).OwnerTableView.DataKeyValues(e.Item.ItemIndex)(
"Doc_Path"
).ToString
If
System.IO.File.Exists(Server.MapPath(
"/Files/"
& filepath))
Then
System.IO.File.Delete(Server.MapPath(
"/Files/"
& filepath))
End
If
End
If
End
Sub
Fires every time faithfully in IE 7. In FF 4.0 it fails miserably. Ideas/Workarounds?