473,396 Members | 2,108 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How display MessageBox in aspx-page?

How display MessageBox in aspx-page?

http://www.alvas.net - Audio tools for C# and VB.Net developers
Aug 3 '08 #1
3 2864
You have to send the command for that down to the client, since it is the
client that will be rendering the page. Since JavaScript is the standard
scripting language that all clients understand, you need to send the
JavaScript alert() command to the client.

Response.Write("alert('Your message here.')") would do it.
"Alexander Vasilevsky" <ma**@alvas.netwrote in message
news:g7***********@behemoth.volia.net...
How display MessageBox in aspx-page?

http://www.alvas.net - Audio tools for C# and VB.Net developers


Aug 3 '08 #2
"Alexander Vasilevsky" <ma**@alvas.netwrote in message
news:g7***********@behemoth.volia.net...
How display MessageBox in aspx-page?
http://www.google.co.uk/search?sourc...vaScript+alert
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Aug 3 '08 #3
There is no native MessageBox for web development. We have to use
client-side script and HTML. The easiest way out?

//JavaScript
alert('Hello World');
You don't by any chance have any documentation naming and comparing the
sound files distributed with the various Windows OS releases do you? For no
good reason I can think of the Vista release has renamed and relocated the
folders and all of the sound files.
"Alexander Vasilevsky" <ma**@alvas.netwrote in message
news:g7***********@behemoth.volia.net...
How display MessageBox in aspx-page?

http://www.alvas.net - Audio tools for C# and VB.Net developers

Aug 3 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Wally | last post by:
I am trying to display images from an Access 2000 database and I get an error "Invalid Parameter Used" when I execute the code line "picBLOB.Image = Image.FromStream(stmBLOBData)" in my Visual...
1
by: Kevin R | last post by:
I'm running the HelloWorldForm example from Microsoft to learn how to use ..net. I'm using Microsoft Visual Studio .NET 2003, 1.1 framework. I run the HelloWorldForm example. The example runs...
3
by: sdeyoreo | last post by:
How do I display the integer in pt.x in a message box? I get a error on parameter 2 of MessageBox call: char str; sprintf(str,"point x is %d",pt.x); MessageBox(NULL,str,NULL,MB_OK);
3
by: Tee | last post by:
Hi, I have a boolean variable, I need to see it's true or false from a MessageBox.Show, but when I try to compile, I keep on getting error, "cannot convert from 'bool' to 'string'". This is...
7
by: jez123456 | last post by:
Hi, I have the following method where I need to display which database is being processed, however, the label lblDatabase dosn't seem to work until the end. private void...
18
by: Alpha | last post by:
Hi, I'm working on a Windows applicaton with VS 2003 on windows 2000. I have a listbox that I have binded to a dataset table, "source" which has 3 columns. I would like to display 2 of those...
3
by: Paul Wilson | last post by:
Hi guys, Can someone tell me how i could display a messagebox in ASP.NEt. Following is what i want to do. Validate the user details, & if the user doesn't have requried access rights, then...
6
by: rroman | last post by:
I've tried the good old fashioned msgBox but I get: It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode. Specify the ServiceNotification or...
5
by: Steve Kershaw | last post by:
Hi, I need to display a messagebox in ASP.NET that includes a textbox for input. There must be an easy way to do this! Thanks Steve
6
by: Goran Djuranovic | last post by:
Hi all, I have a VB.NET windows application that uses MDI form. When I try to delete a datagrid row from one of the MDI children forms, I use a MessageBox YesNo confirmation, which, after confirmed,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.