Summary

Convert your Project 1 and 2 desktop applications that BMI into an ASP.NET Web Forms Application. This is the last BMI project, promise

Requirements

The user interface shown in the screenshots is the minimum. I want you to add some custom CSS and personalize it a bit.

Include labels and instructions to make the user interface clear to the user.

Detailed Specs:

  • Input the feet and inches in a DropDownList control.
    • Height in feet should be limited to values 0-9
    • Height in inches should be limited to values 0-11
  • Change the default font to any font of your choosing using CSS.
  • Input the weight using a TextBox control. You must us a RequiredFieldValidator and a RangeValidator. Weight must be between 1 and 1000.
  • You must do client-side and server-side validation
  • Obtain each of the three variables from the controls. The Height of the user must be at least 1 inch.
  • BMI must show no more than two decimal places.
  • All calculations must be done using server-side C# code.
  • Compute the BMI using this formula: BMI = (Weight in Pounds / (Height in inches x Height in inches)) x 703

Hints

  • Limit the events to a Button Click event. You don't want web apps to be "chatty".
  • See the week 4 and 6 notes on Radio Buttons and how to add validation.
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.