Context menu appear and disappear in IPAD for RadGrid

2 posts, 1 answers
  1. Lakpa
    Lakpa avatar
    13 posts
    Member since:
    Dec 2013

    Posted 11 Apr 2014 Link to this post

    Hi,
        Currently I am facing an issue with longtouch event for Grid. I attached a contextmenu for the grid.

    <Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true" ScrollHeight="250px" />
    when I press longtouch
    . When there is scrollheight and then the grid has many records and it has scroll bar, then the ContextMenu appears and disappear in IPAD.
    . When there are few records and no scroll bar then the Contextmenu stay when it open.

    I have attached a gif file showing the problem.

    Thanking you
    Lakpa Sherpa
  2. Answer
    Galin
    Admin
    Galin avatar
    526 posts

    Posted 16 Apr 2014 Link to this post

    Hi Lakpa,

    The TouchScrollExtender conflicts with the implemented events of the context menu. This currently is not supported scenario, but you can cancel the scroll events during the showing of the menu, e.g.
    function longTouch()
    {
        var radGrid = $find("RadGrid1");
        if (radGrid._scrolling._dropDownTouchScroll)
            radGrid._scrolling._dropDownTouchScroll.disable();
        radGrid._contextmenu(ContextMenu);
    }

    I hope this helps.

    Regards,
    Galin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top