Hello All Forum member
I have used below code for my alert message box in my current project. It is working fine when I am running this from Visual Studio.net where as it not woking when i am running it under IIS.
Dim msg As String = String.Empty
Dim title As String = String.Empty
Dim style As MsgBoxStyle
Dim response As MsgBoxResult
msg = "Are you sure want to delete this record? "
style = MsgBoxStyle.DefaultButton2 Or _
MsgBoxStyle.Critical Or MsgBoxStyle.YesNo
title = "Alert!!!" ' Define title.
' Display message.
response = MsgBox(msg, style, title)
If response = MsgBoxResult.Yes Then ' User chose Yes.
//code for perform delete ...
Go to the complete details ...