If you wan't to create a more fancy MessageBox then you can create either: a Custom Control just like what is demonstrated here
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Message http://forums.asp.net/t/1971620.aspx?How+can+I+display+a+modal+message+box+in+VB+net box in asp.net, using vb.net code up vote 0 down vote favorite 1 When I display message box using msgbox ("Show my message") in asp.net webforms, it does show it but in minimized state. How to display it normally as we get it in winforms? Thanks asp.net vb.net share|improve this question edited Jan 21 '14 at 14:02 jennous 538 asked Feb 28 '12 http://stackoverflow.com/questions/9484476/message-box-in-asp-net-using-vb-net-code at 15:13 Furqan Sehgal 1,9772281133 add a comment| 3 Answers 3 active oldest votes up vote 2 down vote accepted You can't use a msgbox (it may work when you're testing the application locally because your machine is both the client and the server, but if you tried to deploy it, it may only open a msgbox on the server). You can use javascript, like this: SomethingClickable.Attributes["onClick"] = "alert('Hello World');"; share|improve this answer answered Feb 28 '12 at 15:17 Paolo Falabella 15.6k12955 add a comment| up vote 1 down vote You can't display a server side MessageBox in a web application. You can use the javascript alert dialog, a modal dialog, a UserControl, or a block of text on your page instead. The simplest method is probably alert: share|improve this answer edited Feb 28 '12 at 15:23 answered Feb 28 '12 at 15:15 jrummell 30.7k1276136 add a comment| up vote 0 down vote You can't directly display e message box on the client from the server. You need to use JavaScript code which happens to be alert("Show my message"); However you can't pu
Party Controls ASP.Net Validators WCF Repeater Regular Expressions Yahoo API iTextSharp FaceBook http://www.aspsnippets.com/Articles/Display-Exception-Error-Message-details-using-JavaScript-Alert-MessageBox-in-ASPNet.aspx Charts ListView Tweeter Google CSS SMS DotNetZip Crystal Reports http://www.aspneto.com/how-to-show-alert-message-box-from-code-behind-in-asp-net-c-vb-net.html Entity Framework HyperLink RDLC Report SqlDataSource Menu YouTube Twitter HTML XmlDataSource ListBox Tips DataGridView Cryptography Windows Forms LinkedIn WebUserControl RSS Feeds HTML5 Sitemap IIS LINQ DataPager URL Routing SqlBulkCopy OCR ASP.Net 4.5 Master Pages MySQL CSV how to Stored Procedures JSON Web Services Bootstrap Windows Service DataTable App.Config Visual Studio RadioButton CheckBox Generic Handler DropDownList FileUpload RadioButtonList CheckBoxList Flash HtmlEditorExtender Div Table AngularJS DataReader DataSet Console Applications FTP DetailsView Password TextBox Enum ComboBox Sponsored SqlDataAdapter OpenXml ClosedXml SiteMapPath Arrays FormView SqlTransaction Web.Config Cookies MVC how to show Data Annotation Partial View Forums Contact Search Search Home Categories Forums Contact Search Display Exception (Error) Message details using JavaScript Alert MessageBox in ASP.Net 21 Aug 2015 Mudassar Khan 1 Comments 6736Views ASP.NetJavaScriptIssues and Exceptions Follow @ASPSnippets Follow @ASPSnippets Here Mudassar Ahmed Khan has explained with an example, how to display exception (error) Message details using JavaScript Alert MessageBox in ASP.Net using C# and VB.Net.Exception details such as Message, StackTrace, TargetSite and Source will be displayed using JavaScript Alert MessageBox in ASP.Net. Download View Demo Download FREE APIs to work with ALL kinds of office files - http://e-iceblue.com/free-api Follow @ASPSnippets Follow @ASPSnippets In this article I will explain with an example, how to display exception (error) Message details using JavaScript Alert MessageBox in ASP.Net using C# and VB.Net. Exception details such as Message, Stack
Asp.net, C#, VB | Last Updated: Sep 13, 2014 In my previous tutorials, I'd explained how to show alert message from client-side, how to call javascript function from code-behind, confirm message box example using javascript and more cracking tutorials on Asp.net, JavaScript, jQuery here. Now here in this tutorial, I'll explain how to show alert message box from server-side or code-behind in asp.net using c# or vb.net with example code. Show Alert Message from Code-behind - [.aspx] Following is the complete HTML Markup code that I used in my .aspx page for this demonstration to show alert message from code-behind:
How to show alert message from code-behin in Asp.net