I need to display message box in ASP.NET web page. I am using VB.NET scripting language.
I have written something like this
if ds.tables(0).rows.count = 0 then
Response.Write("<script>alert('There are no Open queries redirecting to New Query Screen');</script>")
It directly redirects to NewQuery page without displaying message box.
Interestingly, this works fine when I write only Response.Write on to a new page. But doesnt shows message box when written in the existing code as shown above.
Is there any need to import Windows.Systems.Forms