Popular Posts

Friday, 8 July 2011

Delete Confirmation Message Java Script

<asp:TemplateField ShowHeader="False">
   <ItemTemplate>
 <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" Visible="false" CommandArgument='<%# Bind("Key")%>'
       CommandName="Delet" OnClientClick="return confirm('Are you sure you want to delete this contact record?');"
          Text="Delete"></asp:LinkButton>
        </ItemTemplate>
  </asp:TemplateField>

No comments:

Post a Comment