delete Confirm msg in datagrid
-
hi all, I got some javascript for confirm message _________________ function confirmMsg(msg) { var x; x =window.showModalDialog('ConfirmMsg.aspx?CfMsg='+ msg + ', '', 'dialogWidth:500px;dialogHeight:200px'); if (x=='Y') return true; else return false; } _____________________ i am sending the parameter string, but the query string is not getting the value.. can any one check the syntax, and correct me that how i to send query string... thanking you all.. I am requesting if any body having a message box which can show "yes, no" kind of buttons, and after yes only i have to perform the delete operation.. If any one having pls. give me some info.. thanks to u all..
-
hi all, I got some javascript for confirm message _________________ function confirmMsg(msg) { var x; x =window.showModalDialog('ConfirmMsg.aspx?CfMsg='+ msg + ', '', 'dialogWidth:500px;dialogHeight:200px'); if (x=='Y') return true; else return false; } _____________________ i am sending the parameter string, but the query string is not getting the value.. can any one check the syntax, and correct me that how i to send query string... thanking you all.. I am requesting if any body having a message box which can show "yes, no" kind of buttons, and after yes only i have to perform the delete operation.. If any one having pls. give me some info.. thanks to u all..
you should use the following way add attributes on the delete button as
btndelete.attributes.add("onCLick","window.confirm('are You Sure to delete');")
when user clicks 'Yes' it will proceed furthor otherwise it wont proceed on pressing 'No' regards ravi jain :) -
you should use the following way add attributes on the delete button as
btndelete.attributes.add("onCLick","window.confirm('are You Sure to delete');")
when user clicks 'Yes' it will proceed furthor otherwise it wont proceed on pressing 'No' regards ravi jain :) -
Thank you ravi for you reply.. My problem is that window.confirm is havinf "OK, CANCEL".. I need ""YES, NO" kind of stuff. Previously i used this, but now my client is asking for YES No kind.. If you have any idea.. pls. let me know.. Thank you..
-
hi all, I got some javascript for confirm message _________________ function confirmMsg(msg) { var x; x =window.showModalDialog('ConfirmMsg.aspx?CfMsg='+ msg + ', '', 'dialogWidth:500px;dialogHeight:200px'); if (x=='Y') return true; else return false; } _____________________ i am sending the parameter string, but the query string is not getting the value.. can any one check the syntax, and correct me that how i to send query string... thanking you all.. I am requesting if any body having a message box which can show "yes, no" kind of buttons, and after yes only i have to perform the delete operation.. If any one having pls. give me some info.. thanks to u all..
hi u refer WWw.w3schools.com javascript tutorial regards saravanan;P