MessageBox in Web Form ?

  • Thread starter Thread starter Russ
  • Start date Start date
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
 
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
 
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
 
Back
Top