Question: Create an empty Web Site application named Circle and save it in the VB2015Chap12 folder. Add a new Web page named Default.aspx to the application.

Create an empty Web Site application named Circle and save it in the VB2015\Chap12 folder. Add a new Web page named Default.aspx to the application. Change the DOCUMENT object’s Title property to Circle Area.

a. Use Figure 12-44 as a guide when designing the Web page. The circle image is contained in the VB2015\Chap12\Circle.png file. Set the RequiredFieldValidator control’s ControlToValidate property to txtRadius. Also sets its ErrorMessage and ForeColor properties as appropriate.

b. Open the Code Editor window. Use comments to document the application’s name and purpose as well as your name and the current date. Also enter the appropriate Option statements. Code the Calculate Area button’s Click event procedure. Use 3.14 as the value for Pi. Display the area with one decimal place.

c. Save and then start the application. If you receive the error message shown earlier in Figure 12-41, right-click Web.config in the Solution Explorer window and then click Open. Then use one of the two solutions shown earlier in Figure 12-42. Click File on the menu bar and then click Save Web.config. Close the Web.config window and start the application again.

d. Test the application appropriately and then close the browser window. Close the Code Editor window and the application. 

Server Error in ' Application. WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive). Description: An unhandled exception occured during the execution of the current web request. Please review the siack trace for more informalion about the error and where it eriginated in fhe code.

Figure 12-41

Server Error in ' Application. WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'.

Figure 12-42

Please add a ScriptResourceMapping named jquery(case-sensitive). Description: An unhandled exception occured during

Figure 12-42

Server Error in ' Application. WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive). Description: An unhandled exception occured during the execution of the current web request. Please review the siack trace for more informalion about the error and where it eriginated in fhe code.

Step by Step Solution

3.36 Rating (165 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a b c d Circle Area autostyle1 width 400px fontsize xlarge autostyle2 height 58px autostyle3 width 5... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming with Microsoft Visual Basic 2015 Questions!