Student Learning Objectives
- Use Visual Studio to
- Create web forms with HTML elements and ASP.NET Web controls
- Set web server control property values declaratively
- Re-assign web server control property values through code
- Write event handler methods written in C#
Validate your page to XHTML 1.0 Transitional and remove any accessibility errors.
Assignment
- Create a new folder U:\Programs\
nnProgram1 to contain your solution where nn is your CS 351 account number
- Modify Default.aspx by adding HTML and ASP.NET controls to implement an online greeting card designer
- Write the C# methods to handle the Apply Changes and Reset to Default Values button clicks
- Note: You may assume legal input (double values); No error checking of user input is required
Screen Snapshot
Note: an interactive version of Program 1 solution is available online.
Do not be tempted to simply copy and paste the generated HTML code; your task is to create this web application using ASP.NET web server controls.
To Receive Credit
- This program is due at the start of the next Lab (Wednesday)
- Print out the Greeting Card Designer as displayed in a browser
- Annotate your Greeting Card Designer printout to note
- Any problems that remain in your solution (to assist with grading)
- Your total completion time (rounded to the nearest half-hour)
- Save you work in your U:\Programs\
nnProgram1 folder.
- Your program code will be checked online
Grading Criteria
- Labs will be graded on a scale of 10 to 20:
- 20, 19: Excellent, the greeting card designer works correctly and contains no coding, validation, or accessibility errors or warnings
- 18, 17: Very well done: the greeting card designer works correctly but contains minor coding, validation, or accessibility errors or warnings
- 16, 15: OK: the Apply Changes event handler works correctly but the Reset to Default Values not working correctly
- 14, 13: Acceptable: minor problems remain with the Apply Changes actions, but the application displays in the browser and reacts to most changes without crashing
- 12, 11: Problems: major problems remain but the application displays in the browser and reacts to some changes without crashing
- 10: Errors in the code cause the Web application to crash when Apply Changes is clicked