Question
Performance Issue while calculating values using Declare Onchange
Hi Team,
We need to calculate Subtotal and Total price based on FIVE properties.
We are calling an activity using Declare Onchange to calculate those values.
As per Business requirement whenever user tab out from the field we need to calculate the values. So, we are calling Action set on each field.
(POST Value and Refresh-This Section and Refresh- Other Section)
- We are using repeating layout in our application. For allowing User to enter more than one row.
We are facing the problem when user enters more than 3 rows
Response time is high (taking more time to calculate).
How to resolve this issue?
Thanks In Advance
Regards,
Vishnu
Hello Vishnu,
Is the refresh target limited to the just the components of interest? If not might want to wrap them in a section and further isolate them to target the refresh section more appropriately. You can trace the processing of this sequence to confirm the main delay sources by reviewing the elapsed times.(likely) the section refresh. You could also use fiddler to see what specific requests take what amount of time to fullfill.