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

[Solved] Problems with set_cancel

1 Answer 73 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chad
Top achievements
Rank 1
Chad asked on 01 May 2008, 01:54 PM
This issue occurs with the Telerik 2007.3.1425.35

I've tied a javascript function to the Grid  OnRowSelecting client side event.
 with the following script code.

The alert fires and displays the message, but the set_cancel fails with no method set_cancel on the eventArgs object.

<script type="text/javascript" language="javascript">
    function RowSelecting(sender, eventArgs)
    {
        alert("Cancelling the Row Select!");
        eventArgs.set_cancel(true); //cancel event
    }
    </script>

1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 01 May 2008, 02:42 PM
Hi Chad,

I have to admit about this issue in the previous version of the control, but you will find it resolved in the official version. Please, download and install the RadControls for ASP.NET AJAX official release and let us know if further assistance is needed.

Please, excuse us for the temporary inconvenience.

Greetings,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Chad
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Share this question
or