I started getting this warning window while debugging one of my projects and to workaround it I had to change my debugger settings.
The below screenshots show how one can have a label on master page for displaying messages to the user using the application.
Site.Master
Site.Master.cs
Default.aspx
Default.aspx.cs