This topic is locked

Detail counter

7/8/2010 12:09:59 AM
ASPRunnerPro General questions
S
suprapen author

When entering a record into detail A1 via inline add after inline adding a Detail A record, the counter is not updating until I reload the Detail A record list. My setup is MASTER > Detail A > Detail A1. Any help would be nice, thanks.

A
ann 7/8/2010

Hi,
to refresh page after InlineEdit/InlineAdd open generated inlude/inlineedit.js file, find this code:

setTimeout('$("#uploadForm'+id+'").remove()',500);



and add following code just after:

setTimeout('window.location.reload(true)',1000);
S
suprapen author 7/10/2010

Thanks Ann. The problem with this is that the Detail A records list will uncollapse and needs to be reloaded everytime after an add or edit inline. Is there anyway the counters can asychronously update which is what it does after the lists refresh after an inline add? Looks like a runner bug to me.



Hi,
to refresh page after InlineEdit/InlineAdd open generated inlude/inlineedit.js file, find this code:
s

etTimeout('$("#uploadForm'+id+'").remove()',500);



and add following code just after:

setTimeout('window.location.reload(true)',1000);


J
Jane 7/12/2010

Hi,
unfortunately there is no easy way to refresh counters asynchronously in current version.

We'll investigate and fix this issue in the next version.