MessageBox in Web Form ?

R

Russ

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
 
C

Cor Ligthert

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
 
R

Russ

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top