Last post Oct 05, 2017 02:29 PM by MarcoPio
Sep 09, 2017 09:52 PM|MarcoPio|LINK
I come from the old ASP.NET WebForms and I have a question on the Razor Pages. Since ASP.NET Web Core Razor Pages are rendered on the server how would you do a simple calculated field that is automatically updated when user changes values on the form on
For Example a simple calculator like Value1 * Value2 = Total and the user changes the Value1 or Value2 and Total is instantly recalculated on the screen. In the old WebForms I used to use a trick but how would you do this in Razor Pages?
Sep 10, 2017 12:43 AM|bruce (sqlwork.com)|LINK
<input type="test" name="foo" onblur="this.form.submit()" />
but I'd never post back for such a simple requirement.
Sep 10, 2017 01:53 AM|MarcoPio|LINK
Oct 04, 2017 08:31 AM|Edward Z|LINK
If there is no other issue, I would suggest you mark the helpful reply as answer which is the way to close a thread here.
Oct 05, 2017 02:29 PM|MarcoPio|LINK
Thanks Edward, I marked as Answered.