Question: I need the code for a razor page and component that does the following: File one will be a razor page. File two will be
I need the code for a razor page and component that does the following: File one will be a razor page. File two will be a Razor Component which uses three variables Start, End and divide to print all the whole numbers in the Start to End range that can be divided by the divide value eg Start is end is divide is the count would be I will be testing a couple of different values.
Show the Start, End and Step values and add a button called Display Numbers You will also display a count of the numbers being printed called NumCount. This will utilize way binding and the initial NumCount value will be Once you click the button to print the values it will output the count.
You will include the component within the razor page, pass the parameters when calling it where the first set the start, end, and divide values and the final value implements the way binding above.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
