Pages

Subscribe:

Ads 468x60px

Labels

Sunday, August 5, 2012

Confirm dialog box C#

Have a different question to ask? Start New Discussion Reply to this Discussion 5 Hours Ago 0

I want pop out a confirm message box like
Response.Write("");

But I want control if Ok then do wat else do wat.

lianpiau Junior Poster 124 posts since Feb 2011 Reputation Points: 10 Solved Threads: 0   4 Hours Ago 0

Add this in the page_load method:

btnSubmit.Attributes.Add("onclick","javascript:if(confirm('Are you sure?')

No comments:

Post a Comment