Display Issue

2 posts, 0 answers
  1. Brian
    Brian avatar
    5 posts
    Member since:
    Jun 2012

    Posted 17 Aug 2012 Link to this post

    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'); }
  2. Peter
    Peter avatar
    6637 posts

    Posted 21 Aug 2012 Link to this post

    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,
    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top