Hi All,
I wish to know how to display confirmation message box in ASP .Net
How to display Confirmation Message Box in ASP .Net
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Dhaval PatelRank #1,023 · 1.9K reputationPosted Jan 19, 2012, 11:57 PM EST
using modal popup for confirmation message box
For javascript
function showConfirm(source, modelname)
{
this._source = source;
this._popup = $find(modelname);
this._popup.show();
}
function okClick()
{
this._popup.hide();
__doPostBack(this._source.name, '');
}
function cancelClick()
{
this._popup.hide();
this._source = null;
this._popup = null;
}
Modalpopup code
OnOkScript="okClick();" CancelControlID="btnCancelDelete" OnCancelScript="cancelClick();"
BackgroundCssClass="modalBackground" />
Confirm Delete...
Are you sure you want to Delete Lost Detail ?
Button to click when Modal poup confirmation box open
Satyapriya NayakRank #47 · 31.5K reputationPosted Jan 20, 2012, 12:17 AM EST
Please refer the below link
http://www.c-sharpcorner.com/uploadfile/syedshakeer/how-to-show-alert-and-confirmation-message-box-in-Asp-Net/default.aspx
Thanks
Mukesh KumarRank #615 · 3.9K reputationPosted Jan 20, 2012, 12:19 AM EST
please refer below link
http://www.codeproject.com/KB/webforms/NingLiangSimpleControl.aspx