Hi All,
I wish to know how to display confirmation message box in ASP .Net
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mukesh KumarPosted Jan 20, 2012, 5:19 AM
please refer below link
http://www.codeproject.com/KB/webforms/NingLiangSimpleControl.aspx
Satyapriya NayakPosted Jan 20, 2012, 5:17 AM
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
Dhaval PatelPosted Jan 20, 2012, 4:57 AM
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