How to display an alert box from C# in ASP.NET?
I am using a detail-view and would like to display an alert-box at the end of my code block that says:
I am using a detail-view and would like to display an alert-box at the end of my code block that says:
I’m currently stuck. I have a webform with a button that registers or saves a record.
What i’d like to is have it display a javascript alert and then redirect to a page.
Here is the code i am using
I’m trying to write a test with selenium in python language for a web page that manages users. In this page someone can add role for users and if a role exists while adding it, an alert raises. I don’t know if the alert is a javascript alert or an element of the web page. I want to automatically check the existence of the alert, because checking for the role in the list wastes time and has an enormous load. I tried this: