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

Radgrid posting back on doubleclick and closing my modal

1 Answer 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 16 Jul 2015, 09:54 PM

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?

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 21 Jul 2015, 11:09 AM
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
Tags
Grid
Asked by
Robert
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or