Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1063245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:45:19+00:00 2026-05-16T18:45:19+00:00

i wanna to show a message box but i prefer to be server side

  • 0

i wanna to show a message box but i prefer to be server side ,i wanna to have full control over it,i mean the number of buttons, the icon …. etc like windows application.

the problem when add reference to system.windows.forms and use it , when publish the site on the server i have an error , i can’t remember exactly , but when remove all my messages every thing becomes ok.this problem appears even with summary validation when i wanna to be shown as a message box rather than list. i wanna solution to this problem ,please.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T18:45:19+00:00Added an answer on May 16, 2026 at 6:45 pm

    Thick client messagebox appears on the machine where the code is running. What would happen if you didn’t get the error is that a messagebox would appear on the server console in your server room and your program would stop processing; to the user, it would appear crashed.

    You don’t want that.

    Fortunately Microsoft, like a kind parent, knows that as well, and when it detects a messagebox being used in an ASP program, it blows up. Think of it as a timeout for playing in the street.

    But a step up from that:

    Messageboxes are the worst for the user. Avoid them at all costs. They suck.

    Seriously. EVERY newbie programmer misses on this; learn early, whether you’re in thick client or web. They stop the users in their tracks, they have no choice but to click OK. That’s why they only pop up for spam pages and obnoxious ad sites. Because those suck, too. And they mean to annoy you.

    Do you mean to annoy your users? When not go back to MS-Basic on an IBM-PC or AT, and just your INPUT statements all in a row. That will only give the user one thing to do, to. Real GUIs avoid that and let the user decide where to click – even when the users has just screwed up.

    You want to correct your users’ errors with a red message by the error’d field, and/or a very obvious warning box right where the data entry area would be (shifting the data entry area down).

    You could have a normally blank hidden field in ASP, only put a message in it that you want to show in a messagebox, and have client-side code check for a value and pop up a messagebox. But you are probably creative enough to solve a problem without messageboxes though.

    the reason you don’t see them a lot is because they suck, they make your website suck, and you don’t need them. And modern web designers know this.

    Have a hidden panel in your webform specifically designed for error messages or important messages. Show it when you would normally show a messagebox. And/or use the built-in webforms validation tools. Or just show the entire message on a page by itself

    There are other right ways to do this, too; some availabe libraries even put a message-box-looking fake box up over the webpage like a rollover ad (note my comparison: this method is obnoxious too as it constrains the user).

    Sorry for the tone of this answer. It is meant to drive home the point that too many programmers take too long to learn for themselves:

    MESSAGEBOXES SUCK!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to get the message box to show the elements but messagebox
I wanna write <Message Text=Line1\nLine2\nLine3 /> but \n seems not to be working. What
I wanna show some text (and images) in browser but this text shouldn't be
I have a list of events for example I wanna show on a page
I wanna show number of rows of table on my website. query is working
I wanna show my reports in reportviewer control in visual studio and open them
I have a form which takes multiple inputs from user. Now I wanna show
I have a master page(MyMasterPage.master) with two content place holders. I wanna show another
i wanna show a message in the same page where recaptcha is installed this
I have a field like this in my Django template: <p>{{news.description}}<p> I wanna show

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.