Confirmations in Radalert

2 posts, 0 answers
  1. Debashis Pyne
    Debashis Pyne avatar
    66 posts
    Member since:
    Apr 2010

    Posted 23 Jul 2010 Link to this post


    I have a RadGrid which has activate, deactivate and delete functionalities as coded below:

    <telerik:GridTemplateColumn UniqueName="CheckBoxTemplateColumn" AllowFiltering="false">
      <span style="padding:0 5px">
       <asp:ImageButton ID="ImgBtn" runat="server" CausesValidation="False" />
      <span style="padding:0 5px">
       <asp:ImageButton ID="ImgBtnDelete" ToolTip="Delete Record" runat="server" CausesValidation="False"
       OnClientClick="return confirm('Are you sure you want to delete this record?');"
       ImageUrl="~/Images/icon/delete.gif" />
      <span style="padding:0 5px">                                               
       <asp:HyperLink ID="EditLink" runat="server" Text="Edit"
       ImageUrl="~/Images/icon/edit.gif" ToolTip="Edit Record"></asp:HyperLink>                                           

    How can i integrate radalerts instead of the current JS message boxes as confirmations for the functionalities?

    Please suggest.


  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 26 Jul 2010 Link to this post


    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

Back to Top