Author: Passionate.Net | Posted on: 2/15/2010 6:53:14 AM | Views : 1370

Hi ...
I've a boolean variable bDifferentUnchk, if it's value is true..i've a display a confirm box .
If that confirmbox's return value is true(say, the user says 'yes'),then i've to show a modal dialog box and if the user clicks "No" in the confirmbox,i've to do a set of tasks.
Pls guide me in handling this, i've already tried something..which is not working...
 
If bDifferentUnchk Then
confirmMsg = "The Attendance differ from appointments. Do you want to change the appointments as well?"
javaScript.Append("var userConfirm = window.confirm('" + confirmMsg + "');")
javaScript.Append("if ( userConfirm == true )")
javaScript.Append("{")
javaScript.Append("var opt = 'dialogWidth:1028px; dialogHeight:1000px; center:yes; scroll:no; status:no';")
javaScript.Append("var dia ...

Go to the complete details ...