Hi,
I am writing a web site in vb.net.
I need to show javascript confirm box before data is inserted. so if cancel is pressed program flow stops, otherwise data is inserted.
quick help will be much appreciated !! :)
Shantanu88d
0
Light Poster
Recommended Answers
Jump to Posti will assume that you are using a asp.net control button for this.
<asp:Button ID="btnSave" runat="server" OnClick="Server_btnSave_Click" OnClientClick="Client_btnSave_Click" Text="Save" />
now you can add in your codebehind the Server_btnSave_Click method and in javascript write your method for Client_btnSave_Click, that …
All 4 Replies
jbisono
51
Posting Pro in Training
Shantanu88d
0
Light Poster
jbisono
51
Posting Pro in Training
Shantanu88d
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.