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

Display Issue

1 Answer 18 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 17 Aug 2012, 11:26 AM
Below is my javascript I'm using to bring up the context menu when right clicking on a radgrid row. 
the Menu.Show(Evt); line causes my whole page to shift down.  Keep in mind my ASP page is using a master page, where if I do not use a master page this does not happen.  Any Ideas?

function AssignedContextMenu(sender, eventArgs) { alert('a'); var menu = $find(""); alert('b'); var evt = eventArgs.get_domEvent(); alert('c'); var index = eventArgs.get_itemIndexHierarchical(); alert('d'); var vRow = sender.get_masterTableView().get_dataItems()[index]; alert('e'); var vQueueID = sender.get_masterTableView().getCellByColumnUniqueName(sender.get_masterTableView().get_dataItems()[index], "QueueId").innerHTML; alert('f'); if (vQueueID != ' ') { alert('g'); sender.get_masterTableView().selectItem(vRow.get_element(), true); alert('h'); document.getElementById("hidAssignedRowIndex").value = index; alert('i'); menu.show(evt); alert('j'); evt.cancelBubble = true; alert('k'); evt.returnValue = false; alert('l'); if (evt.stopPropagation) { alert('m'); evt.stopPropagation(); alert('n'); evt.preventDefault(); alert('o'); } alert('p'); } alert('q'); }

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 21 Aug 2012, 12:04 PM
Hello Brian,

Please, send us a sample of the problem via a support ticket and we will do our best to help you fix it.

All the best,
Peter
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Menu
Asked by
Brian
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or