To replicate the problem:
Clicking on the Edit button fires the RowClick event of the Grid instead of Edit/Save/Cancel.
<script type=
"text/javascript"
>
var
old = Telerik.Web.UI.GridSelection.prototype._click
Telerik.Web.UI.GridSelection.prototype._click =
function
(e)
{
var
el = (e.target)? e.target : e.srcElement;
if
($telerik.isTouchDevice && el.nodeType == 3)
{
el = el.parentNode;
}
if
(!el.tagName)
return
;
// If the span element clicked is a child element of a button, do not raise the row click event
if
(el.tagName.toLowerCase() ==
"span"
&& el.parentElement.tagName.toLowerCase() ==
"button"
)
return
;
// call the original code
old.call(
this
, e);
}
</script>
<
button
type
=
"button"
name
=
"RadGrid1$ctl00$ctl04$EditButton"
value
=
"Edit"
onclick
=
"javascript:__doPostBack('RadGrid1$ctl00$ctl04$EditButton','')"
id
=
"RadGrid1_ctl00_ctl04_EditButton"
title
=
"Edit"
class
=
"t-button rgActionButton rgEdit"
>
<
span
class
=
"t-font-icon rgIcon rgEditIcon"
></
span
>
</
button
>