Wednesday, 5 June 2019

ASP.NET - JavaScript - OK/Cancel example in one line in button code

Watch this example on YouTube



 <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click"
        OnClientClick="return confirm('Please Confirm you want to proceed');" />

No comments:

Post a Comment