Hi,
I have a grid with a link button:
<telerik:GridButtonColumn HeaderStyle-Width="80px" ItemStyle-Width="80px" ButtonType="LinkButton" UniqueName="Block" />
on ItemDataBound I add onclientclick event that opens a confirmation window:
function UserBlock() {
$.confirm({
'title': 'Covertix',
'message': 'Are you sure you want to block this user?',
'icon': '../Images/Icons/System/garbage.png',
'container': '#MainBoxFull',
'buttons': {
'No': {
'class': 'CovertixButtonForMsgBox',
'action': function() {
$.confirm.hide();
}
},
'Yes': {
'class': 'CovertixButtonForMsgBox',
'action': function() {
$.confirm.hide();
}
}
}
});
return false;
}
Inside the 'Yes' callback, I want to fire a click event or block command.
Is it possible?
I tried in many ways without success.
I have a grid with a link button:
<telerik:GridButtonColumn HeaderStyle-Width="80px" ItemStyle-Width="80px" ButtonType="LinkButton" UniqueName="Block" />
on ItemDataBound I add onclientclick event that opens a confirmation window:
function UserBlock() {
$.confirm({
'title': 'Covertix',
'message': 'Are you sure you want to block this user?',
'icon': '../Images/Icons/System/garbage.png',
'container': '#MainBoxFull',
'buttons': {
'No': {
'class': 'CovertixButtonForMsgBox',
'action': function() {
$.confirm.hide();
}
},
'Yes': {
'class': 'CovertixButtonForMsgBox',
'action': function() {
$.confirm.hide();
}
}
}
});
return false;
}
Inside the 'Yes' callback, I want to fire a click event or block command.
Is it possible?
I tried in many ways without success.