Context Menu in firefox not getting the selected record data

Context menu in firefox is able to fire the event but before that it is not able to get the selected record data from javascript.
Javascript code is working fine with IE.

1 Reply

RP Rekha P Syncfusion Team June 15, 2009 11:36 AM UTC

Hi Mahesh,

Thank you for your interest in Syncfusion Products.

I am afraid that I am unable to reproduce the reported issue. I have a created a simple sample to test this issue in FireFox and it is available from below link.

http://files.syncfusion.com/support/GGC.Web/7.2.0.37/F82405/main.htm

Steps followed to reproduce in above sample.

- ClientSideOnRecordClick client side events are defined in GridGroupingControl.

function getRecord(odata) {
//current row values
var currentrow = odata.Row.tableRow.innerHTML;
$get("<%=this.Label1.ClientID%>").innerHTML = odata.ColumnName;

//particular column's current row value
var currentrow_col = odata.Row.tableRow.cells[1].innerHTML;
$get("<%=this.Label2.ClientID%>").innerHTML = currentrow_col;

//clicked column's current row value
var currentrow_clicked = odata.Row.GetValue(odata.ColumnName);
$get("<%=this.Label3.ClientID%>").innerHTML = currentrow_clicked;
}


- Custom Menu control is placed and it is enabled by triggering ClientSideOnContextMenu event in Grid.

function ShowContextMenu(edata) {
//Used to Display which Record We want to Edit, Delete and Exit
var bShowMenu = false;
var oEvent = edata.Event;
ContextMenu.ShowContextMenu(null, null, oEvent, edata);
return false;
}


Please have a look at the above sample and if still the issue exists, could you please try reproducing it in the above sample and send us the modified sample so that we could sort out the cause of the issue and provide you a solution?

Let me know if you have any other concerns.

Thanks,
Rekha

Loader.
Up arrow icon