This is a migrated thread and some comments may be shown as answers.

Firefox 4.0 not firing CommandItems

4 Answers 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
mac
Top achievements
Rank 1
mac asked on 23 Mar 2011, 08:41 PM
Standard Grid via LINQ DS
<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?

4 Answers, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 24 Mar 2011, 10:01 AM
Hello Mac,

I cannot reproduce the problem in a simple test page. You can find it attached to this message. Let me know if there is something I am missing.

Regards,
Pavel
the Telerik team
0
mac
Top achievements
Rank 1
answered on 25 Mar 2011, 05:16 PM
Yeah your sample looks identical to mine. I should mention I am using 2009.3.1208.35 dll. DId you test with 3.5 dll or 4.0?
0
Pavel
Telerik team
answered on 28 Mar 2011, 02:22 PM
Hello Mac,

I tested with the 4.0 version of our latest release. From you last post it is not clear, are you able to reproduce the problem with the previously attached sample?

Best wishes,
Pavel
the Telerik team
0
Lenny_shp
Top achievements
Rank 2
answered on 28 Mar 2011, 03:44 PM
IE might have integrated security while in FF you need to provide the credential.
Tags
Grid
Asked by
mac
Top achievements
Rank 1
Answers by
Pavel
Telerik team
mac
Top achievements
Rank 1
Lenny_shp
Top achievements
Rank 2
Share this question
or