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

MessageBox in Web Form ?

In my C# web client, when user clicks submit button, I want to provide
a messagebox advising the success or failure. User would then click
OK and be able to continue. I see that a validation summary can put
up a messagebox (it's neat!) but I can't find any way to accomplish
this programmatically (as a result of the response from a web service
call).

Is this possible? How?

Thanks, Russ

Nov 22 '05 #1
3 2074
Hi Russ,

This seems a complex situation.
It seems to me,
- you show an aspx page
- the user clicks a button
- page ispostedback
- you want to show another page with added some data from a
webservice
- that page is redirected to the user
- user clicks OK on that page
- you want to show the original page
Keeping the information in the session items this should be possible in my
opinion.

However I think that the newsgroup

microsoft.public.dotnet.framework.aspnet is a better place for this
question.

I hope this helps?

Cor
Nov 22 '05 #2
Thank you Cor. I am hoping to aviod having to redirect to another
page just to show a status message and receive an OK from the user.
Validation can put up a standard message box with information and OK
button, so there must be a way to do it:

<asp:validationsummary id="ValidationSummary1" style="Z-INDEX: 143;
LEFT: 496px; POSITION: absolute; TOP: 24px"
runat="server" Width="264px" Height="56px" ShowSummary="False"
ShowMessageBox="True" BorderStyle="Double">
</asp:validationsummary>

Anyway I will post my question to the
microsoft.public.dotnet.framework.aspnet group - thanks for that
suggestion.

Regards, Russ
On Thu, 3 Jun 2004 09:38:01 +0200, "Cor Ligthert"
<no**********@planet.nl> wrote:
Hi Russ,

This seems a complex situation.
It seems to me,
- you show an aspx page
- the user clicks a button
- page ispostedback
- you want to show another page with added some data from a
webservice
- that page is redirected to the user
- user clicks OK on that page
- you want to show the original page
Keeping the information in the session items this should be possible in my
opinion.

However I think that the newsgroup

microsoft.public.dotnet.framework.aspnet is a better place for this
question.

I hope this helps?

Cor


Nov 22 '05 #3
Hi Russ,

Maybe this can help you as well to find how to do the webservice on the same
place. I never did it this way so I was curious..

http://www.gotdotnet.com/playground/..._behavior.aspx

Cor
Nov 22 '05 #4

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

Similar topics

4
by: Drew Lettington | last post by:
I'm making a simple call to display error messages in a MessageBox from a Windows form and the MessageBox is not behaving in a modal fashion. My modal form displays, the user clicks a button and...
4
by: Gerry Viator | last post by:
Hi all, Whats going on. Testing messagebox, text isn't showing up. Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code "
8
by: Saso Zagoranski | last post by:
Hi! I'm trying to make my own MessageBox... What I would like to know is, how the MessageBox class is implemented? I could have something like: new MyMessageBox().ShowDialog(); but I would...
1
by: Ori | last post by:
Hi Guys, Here is my problem, but maybe someone can help me with this. Background: 1. Using C#. 2. I'm having a form which the KeyPreview is on (and must stay like this) and I'm...
20
by: Peter E. Granger | last post by:
I'm having a strange problem (or at least it seems strange to me) trying to display a MessageBox in a VC++ .NET forms application. If I put the call to MessageBox::Show in the form's .h file, it...
10
by: Russ | last post by:
I've been trying to figure out how to show a simple messagebox with an OK button in my web client program (C#). I have looked at every reference to JScript and MessageBox that seemed even remotely...
6
by: ITALstudio s.r.l. | last post by:
Hi, I need to know if on a .NET form a messagebox is displayed. Someone has an idea? Thanks.
4
by: Larry Woods | last post by:
I have a Messagebox that looks like: MessageBox.Show("There are pending changes for this patient. Do you want to continue to close?", "Pending Changes", MessageBoxButtons.YesNo,...
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,...
1
by: gewe | last post by:
I have a form (sizeable border, shows in taskbar, nothing unusual), which is the main form of my application (called MainForm). During an operation progress is shown in another form, that is shown...
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
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?
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
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
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
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.