Im in version 2010.3.1215.35 using IE 8.
Even though I have disabled my Delete LinkButton in the ItemDataBound event, and it looks disabled, I am still able to click it, which prompts me with the delete comfirmation message. When I click to confirm, it deletes my record.
Here's my code behind where I disable the LinkButton
Here's my LinkButton on the ASCX page:
I will also create a ticket so I can send you a small sample project to duplicate the problem.
Just posting for the forum users.
See attached screen shot.
Even though I have disabled my Delete LinkButton in the ItemDataBound event, and it looks disabled, I am still able to click it, which prompts me with the delete comfirmation message. When I click to confirm, it deletes my record.
Here's my code behind where I disable the LinkButton
protected
void
RadGridWorkRequestAsset_ItemDataBound(
object
sender, GridItemEventArgs e)
{
//Other code here
if
(e.Item
is
GridDataItem)
{
var editItem = ((GridDataItem)e.Item);
var deleteButton = (LinkButton)editItem[
"DeleteColumn"
].Controls[0];
if
(deleteButton !=
null
)
{
deleteButton.Enabled =
false
;
}
}
//Other code here
}
Here's my LinkButton on the ASCX page:
<
telerik:GridClientDeleteColumn
ConfirmText
=
"Delete this record?"
ButtonType
=
"LinkButton"
UniqueName
=
"DeleteColumn"
ConfirmTitle
=
"Delete"
ConfirmDialogType
=
"Classic"
CommandName
=
"Delete"
>
</
telerik:GridClientDeleteColumn
>
I will also create a ticket so I can send you a small sample project to duplicate the problem.
Just posting for the forum users.
See attached screen shot.