martin_d_bell Posted April 8, 2005 Posted April 8, 2005 Hi I have a line of code in my VB ASP.NET app which confirms a delete action on a datagrid. This works without problems but I need to make the Javascript alert multiline, I am struggling with the syntax and cannot figure out how to go about this. Example of what I need is ------------------------------------------ | | Are you sure you want to delete: | | Project No: 51151 | Date: 23/04/2005 | Notes: Sorry cannot confirm. | | OK CANCEL |_____________________________________ The code below is what works for a single line alert box. btnConfirm.Attributes("onClick") = "return confirm('Are you sure you wish to confirm:');" Any ideas how and where to place the "vblf" statement. Martin Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.