Javascript Alert vblf syntax!!

martin_d_bell

Newcomer
Joined
Oct 8, 2004
Messages
17
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
 
Back
Top