473,406 Members | 2,549 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,406 software developers and data experts.

Message box in ASP.NET 2005

31
Hi all,

Can we use messagebox in ASP.NET 2005 if we are making our website in ASP.NET using C#. If yes plz provide me the source code for the same...



Thanks and Regards,


Rajan Arora...
Jul 20 '08 #1
3 1194
Curtis Rutland
3,256 Expert 2GB
You can't use MessageBox in ASP.NET. Not possible.

If you simply want confirmation of a button press, you can use javascript and the OnClientClick event of a button control. You put your javascript function there, and if it returns false, the postback is canceled. If it returns true, the postback happens. So you could put a confirm or alert javascript popup there.

And don't ask for full code solutions. We don't do your work here, we help you do it.

MODERATOR
Jul 20 '08 #2
rajanji
31
You can't use MessageBox in ASP.NET. Not possible.

If you simply want confirmation of a button press, you can use javascript and the OnClientClick event of a button control. You put your javascript function there, and if it returns false, the postback is canceled. If it returns true, the postback happens. So you could put a confirm or alert javascript popup there.

And don't ask for full code solutions. We don't do your work here, we help you do it.

MODERATOR
But sir i would be thankful to u if u can provide the source code for dat also bcoz i am new to asp.net and dis solution wouldnt help me....
Jul 21 '08 #3
Curtis Rutland
3,256 Expert 2GB
Well, like I said, you can't use a MessageBox. What do you want to use it for? Is it for button confirmation, or something else?

Also, please be more clear with your typing. I would understand if your English wasn't very good, but this "text speek" like "u" instead of "you" and "bcoz" instead of "because" has to go. Read the Posting Guidelines, specifically the 5th and 6th bullets.

MODERATOR
Jul 21 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Bruce Schechter | last post by:
I just started to develop an ASP.NET application in vs.net 2003 . But each time I try to execute the application (which is basically empty so far), I get a dialog box titled "Microsoft Development...
1
by: djmc | last post by:
Hi, In my web application, I catch SoapExceptions and check the SoapException.Message property to determine the error that occurred. For instance, when authenticating a user, if the...
7
by: Ralf Gedrat | last post by:
Hello! I have some Vb.Net applications, which are terminated at indefinite times without message. If I call in the program regulated system.GC.Collect, then the program is terminated here...
10
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server...
7
by: deltalimagolf | last post by:
I now get the following error message after copying an asp.net application to the deployment web server. I don't have SQLExpress or any version of SQL 2005 installed. I found the "LocalSQLServer"...
10
by: WT | last post by:
Hello, I have been publishing my web site many times to the remote where resides my final web site. Everything was ok, but to-day, without any configuration change, vs doesn't copy final files...
1
by: Bruce | last post by:
We suddenly got a mysterious error message on our Windows Server 2003 (SP1) after rolling out a bug fix on a web services application this morning. The application compiles and runs fine on the...
6
by: Carol | last post by:
Hi. When I try to run Visual Studio 2003 I get the message "MS development environment is not installed for the current user. Please run setup to install the application." Is there any way to...
0
by: drrna2 | last post by:
------=_NextPart_000_0034_01C221EC.6C64FAAA270 Content-Type: text/plain; charset="iso-8859-1" ...ãÌÇäÇ :.ÌäÓ. ÓßÑí . ÈßÇÑå.æÒä. ÝíÇÛÑÇ ÞÖíÈ.Øæá.ÕáÚ.ãÈíÖ.ãÒíá.ÓæÇÏ.ÚÌÑã.ÞÐÝ.ÐßÑ.ÖÛØ ÇáãæÖæÚ :...
1
by: Gregor | last post by:
Hi, I got a service (written in C#) that sends out messages to a third party system. The messages contain encoded attachments. Everything works fine as long as the messages are small (say <...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.