Radgrid posting back on doubleclick and closing my modal

2 posts, 0 answers
  1. Robert
    Robert avatar
    1 posts
    Member since:
    Oct 2012

    Posted 16 Jul 2015 Link to this post

    Hello, 

    I have a radgrid on a modal popup. The first column is a checkbox and that HeaderTemplate is also a checkbox (select all). Everything behaves normally when single clicked. However, when a user accidentally double-clicks any of the checkboxes, the modal closes, which it should not - I actually prefer the postback not even fire. I was able to remedy the issue in Chrome and Firefox buy including the following:

    <ClientSettings>
        <ClientEvents OnRowDblClick="RowDblClick" />
        <ClientEvents OnColumnDblClick ="RowDblClick" />
    <ClientSettings>

     

    As well as: 

    function RowDblClick(sender, eventArgs) {
            return false;
        }

    I am still having the problem with onclick posting back in IE. Has anyone else encountered this?

  2. Eyup
    Admin
    Eyup avatar
    3757 posts

    Posted 21 Jul 2015 Link to this post

    Hello Robert,

    I've created a sample RadGrid web site to test the described behavior. Please run the attached application and instruct me the exact steps I need to follow in order to reproduce the issue.

    Alternatively, you can modify the provided sample and open a formal support ticket to send it to us for further investigation.

    Regards,
    Eyup
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top