G
Guest
i have a GridView with the next button :
i want when i pres the button to get a prompt which ask if i am sur i want
to delete, and if yes to send to a function
on server side called "DeleteGame" do some stuff
how do i do it?
thnaks in advance
peleg
Code:
<asp:TemplateField HeaderText="Delete?">
<ItemTemplate>
<asp:Button Text="X" ID="btnDelete" runat="server"
OnClick="DeleteGame" OnClientClick="alert(1);" UseSubmitBehavior="false" />
</ItemTemplate>
</asp:TemplateField>
i want when i pres the button to get a prompt which ask if i am sur i want
to delete, and if yes to send to a function
on server side called "DeleteGame" do some stuff
how do i do it?
thnaks in advance
peleg