Design application using server controls

Assignment Help Programming Languages
Reference no: EM13934654

Create a Visual Studio 2008 ASP . NET Web Site with two Web Forms. The name of your Web site should be based on your last

name. For example, if your last name is Jones, then assign the name Jones_IP2.

The first Web Form contains one Label server control, two TextBox server controls, and two Button server controls with the Text

"Compute Area" and "Compute Perimeter." The Label server control contains the Text, "Enter numbers in the text boxes and

then click a button to perform the calculation." Use a Try-Catch code block to display an error message if the user inputs a

value less than or equal to zero in either of the TextBox server controls. Use validator server controls to validate each TextBox

server control to verify the user entered something into each TextBox server control and that the entered value can be

converted to a number.

The second Web Form contains a Label server control. Use cross-page posting to display a message in the Label server control

on the second Web Form when the user clicks one of the calculation Button server controls on the first Web Form. For example,

if the user enters "4" and "5" in the TextBox server controls on the first Web Form and then clicks the "Compute Area" button

server control, the second Web Form will display the message "The area of a 4 by 5 rectangle is 20" displayed in the Text

property of the Label server control. If the user enters the same values and clicks the "Compute Perimeter" Button server

control, the second Web Form will display the message "The perimeter of a 4 by 5 rectangle is 18" displayed in the Text

property of the Label server control. The message must include the values input by the user, the selected calculation to

perform and the calculated value. Use a decision structure to assign different colors to the font of the Label server control

based on the calculated value. If the calculated value is greater than 100, the output in the Label server control should display

in a red font. If the calculated value is greater than or equal to 50 and less than or equal to 100, the output in the Label server

control should display in a green font. If the calculated value is less than 50, the output in the Label server control should

display in a blue font. The Label server control should also display an error message to the user if they tried to input a value

that was less than or equal to zero in either of the TextBox server controls on the first Web Form.

 

Reference no: EM13934654

Questions Cloud

How much does the bluebird company need to deposit today : The Bluebird Company has a $10,000 liability it must pay three years from today. The company is opening a savings account so that the entire amount will be available when this debt needs to be paid. The plan is to make an initial deposit today and th..
Prepare a journal entry to record overhead applied to jobs : Prepare a journal entry to record overhead applied to jobs.
Returns given the various states of the economy : The stock of Uptown Men's Wear is expected to produce the following returns given the various states of the economy. What is the expected return on this stock? Probabilities: Recession:0.4 Normal:0.4 Boom:0.2 Returns: Recession:-11% Normal:12% Boom:2..
Cost of new common stock-depending on taxes-flotation costs : The cost of retained earnings can be less than, equal to, or greater than the cost of new common stock, depending on taxes, flotation costs, investors’ attitudes, etc. If a company uses the same discount rate to evaluate all projects,
Design application using server controls : The name of your Web site should be based on your last name.
Stone causal story and the quadrant : Submission is 26 March 5pm. POL330 Public Policy analysis: Report marking sheet for Assignment 3 Area of policy interest Introduction to the policy you have selected. Why did you select that policy area?
Effect of high amp levels on glycolysis and gluconeogenesis : Draw a diagram of the four complexes (complex I, II, III, IV) involved in oxidative phosphorylation, including the including details of how many protons are pumped by the transfer of two electrons through each complex, location of the mobile elect..
What is the economic order quantity : Rock Bottom Carpets sells 5,600 carpets a year at an average price per carpet of $1,490. The carrying cost per unit is $22.37. The company orders 500 carpets at a time and has a fixed order cost of $69 per order. The carpets are sold out before they ..
Plans to maintain indefinitely traditional retention ratio : Jansken Co. has an ROE = .12 and a beta of 1.10. It plans to maintain indefinitely its traditional retention ratio of .65. This year's earnings were $2.50 per share. This year's dividend was jsut paid. The consensus estimate of the coming year's mark..

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd