Page 1 of 1

Clarification on RenderRegionAsync Parameters

PostPosted: 07 Feb 2018 23:14
by mrcarver
CG Gurus,

Can I please get some clarification on the parameters within RenderRegionAsync their purpose and when to use the different options?
ARegion (This is obvious)
AClearRegionParent (What does "Clear" mean. When should this be T vs F )
ABrowserResize (What can be expected when using this flag, When should this be T vs F )
AKeepPosition ( What does "KeepPosition" mean. When should this be T vs F )
ACGRenderAsyncMethod (What is the difference between these options and which should be the default
rramDefaultMethod,
rramLazyLoadMethod
rramOldMethod
AAppendToHTMLID (What AAppendToHTMLID do? I have found an example of how to set this. I assumed its purpose was to properly locate a Invisible object relative to a visible one.

I have been unable to find a clear distinction when to use a given option. Perhaps even brief scenarios when each options use is applicable


Your clarification on this matter is appreciated. Thank You,

Regards,
Monte Carver

Re: Clarification on RenderRegionAsync Parameters

PostPosted: 08 Feb 2018 13:06
by Alexander Bulei
Hi mrcarver,

I've create the topic in documentation section:

viewtopic.php?f=5&t=3548&p=17682#p17682

Best Regards.

Re: Clarification on RenderRegionAsync Parameters

PostPosted: 08 Feb 2018 17:03
by mrcarver
Alex,

Thank you for the link.

Of the three TRenderRegionAsyncMethod options, which one should be our typical go to solution. When I say typical I am thinking about events that refill DropDownBox, etc

From what I can glean, the answer is "rramLazyLoadMethod", because we very seldom invoke JS in our events. And the only time we must use "rramOldMethod" is when a JS is involved.

Please clarify / elaborate which option to use.

And again thank you for your great support.

Regards,
Monte Carver