You want to use an Alert. Unfortunately it’s not as nice as with windows forms.
ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('" + myStringVariable + "');", true);
Similar to this question here: http://forums.asp.net/t/1461308.aspx/1
More Related Contents:
- How to display an error message box in a web application asp.net c#
- How to get File Path from another project in one solution in ASP.NET MVC 3?
- The name ‘controlname’ does not exist in the current context
- ASP.NET MVC – Slow initial load
- Access files from network share in c# web app
- Handler “ExtensionlessUrlHandler-Integrated-4.0” has a bad module “ManagedPipelineHandler” in its module list
- Determine if a number can be made with prepicked numbers and times
- The provider is not compatible with the version of Oracle client
- Can I get more than 1000 records from a DirectorySearcher?
- Pulling data from a webpage, parsing it for specific pieces, and displaying it
- IEnumerable doesn’t have a Count method
- Setting dropdownlist selecteditem programmatically
- How to implement “Access-Control-Allow-Origin” header in asp.net
- How can I export a GridView.DataSource to a datatable or dataset?
- Easiest way to parse “querystring” formatted data
- How can I remove item from querystring in asp.net using c#?
- How to add cross domain support to WCF service
- ASP.NET File Upload
- Recursive TreeView in ASP.NET
- Index (zero based) must be greater than or equal to zero
- Get All Web Controls of a Specific Type on a Page
- Full postback triggered by LinkButton inside GridView inside UpdatePanel
- Unable to find the requested .Net Framework Data Provider. It may not be installed
- GeneralLink in Sitecore
- Change cell color on different values – Gridview
- asp.net web service using office 2010 COM
- Bind Dictionary with list in viewmodel to checkboxes
- Get a list of all tree nodes (in all levels) in TreeView Controls
- Get first element from a dictionary
- Amazon SES Email address is not verified