Hi,
I have a RadGrid which has activate, deactivate and delete functionalities as coded below:
<telerik:GridTemplateColumn UniqueName="CheckBoxTemplateColumn" AllowFiltering="false">
<HeaderTemplate>
<div>
Actions
</div>
</HeaderTemplate>
<ItemTemplate>
<div>
<span style="padding:0 5px">
<asp:ImageButton ID="ImgBtn" runat="server" CausesValidation="False" />
</span>
<span style="padding:0 5px">
<asp:ImageButton ID="ImgBtnDelete" ToolTip="Delete Record" runat="server" CausesValidation="False"
CommandName="Delete"
OnClientClick="return confirm('Are you sure you want to delete this record?');"
ImageUrl="~/Images/icon/delete.gif" />
</span>
<span style="padding:0 5px">
<asp:HyperLink ID="EditLink" runat="server" Text="Edit"
ImageUrl="~/Images/icon/edit.gif" ToolTip="Edit Record"></asp:HyperLink>
</span>
</div>
</ItemTemplate>
</telerik:GridTemplateColumn>
How can i integrate radalerts instead of the current JS message boxes as confirmations for the functionalities?
Please suggest.
Thanks!
I have a RadGrid which has activate, deactivate and delete functionalities as coded below:
<telerik:GridTemplateColumn UniqueName="CheckBoxTemplateColumn" AllowFiltering="false">
<HeaderTemplate>
<div>
Actions
</div>
</HeaderTemplate>
<ItemTemplate>
<div>
<span style="padding:0 5px">
<asp:ImageButton ID="ImgBtn" runat="server" CausesValidation="False" />
</span>
<span style="padding:0 5px">
<asp:ImageButton ID="ImgBtnDelete" ToolTip="Delete Record" runat="server" CausesValidation="False"
CommandName="Delete"
OnClientClick="return confirm('Are you sure you want to delete this record?');"
ImageUrl="~/Images/icon/delete.gif" />
</span>
<span style="padding:0 5px">
<asp:HyperLink ID="EditLink" runat="server" Text="Edit"
ImageUrl="~/Images/icon/edit.gif" ToolTip="Edit Record"></asp:HyperLink>
</span>
</div>
</ItemTemplate>
</telerik:GridTemplateColumn>
How can i integrate radalerts instead of the current JS message boxes as confirmations for the functionalities?
Please suggest.
Thanks!