How can I flexibly interact with clients on the server? Questions that have to be considered!

Source: Internet
Author: User

In ASP. NET, I have been thinking about how to make the interaction between the client and the server flexible?

For example:

When submitting an order, the customer needs to obtain the customer's credit limit from the database. If the credit limit is exceeded, a prompt box is displayed, asking: Do you want to continue when the credit limit is exceeded? If the customer clicks "yes", save the order. If the customer clicks "no", discard the order. If the customer clicks "yes", determine whether to continue placing the order if the inventory quantity is insufficient.

In such a case, you must first submit the statement and then judge the data on the server. Then, a client script is displayed to confirm. You must continue to submit the statement on the server based on the customer's confirmation.

I want to know if there is a good solution to this situation.

I have read a bessagebox. Net Control. Theoretically, this control can solve the above problems. However, it is annoying.

Website: http://www.sophistech.com/SophistechSite/default.aspx

Sample: http://www.sophistech.com/SophistechSite/LiveSamples/MessageBoxSample.aspx is slow

I hope you can discuss it. Is there a good solution?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.