We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Context Menu in firefox not getting the selected record data

Thread ID:

Created:

Updated:

Platform:

Replies:

82405 Jun 12,2009 04:24 AM Jun 15,2009 07:36 AM ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Administrator [Syncfusion]
Asked On June 12, 2009 04:24 AM

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.

Rekha P [Syncfusion]
Replied On June 15, 2009 07:36 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;