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

Confirmations in Radalert

1 Answer 73 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Debashis Pyne
Top achievements
Rank 1
Debashis Pyne asked on 23 Jul 2010, 03:09 PM
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!

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 26 Jul 2010, 07:16 AM
Hello,

Here I found a KB Article explains same situation. Please go through the link below.
Replacing the default confirm dialog for RadGrid with RadWindow confirm


-Shinu.
Tags
Grid
Asked by
Debashis Pyne
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or