Using JavaScript, you can access the dialog boxes while on page loading or after rendering the page content to the browser. There is no way to get a confirmation from the user while you process the functionality through JavaScript. To accomplish this you have to go for a server side message box.
The following code will allow you to create web form code behind, add the following line of code:
In VB.NET
Code:
Imports NewMsgBoxAsp.Holool.Anwar.Web.Controls.UI
The following line Creates an instance of MessageBox class, to access its properties and methods:
VB.NET
Code:
Dim NBox As MessageBox = New MessageBox
Bookmarks