cgdevtools_support wrote:What is FrameRequestFeedResize?
<script>
function FrameRequestFeedResize()
{
var Height = document.getElementById("FrameRequestFeed_Container_template").clientHeight;
var wRegionRequestTop_template_height = document.getElementById("wRegionRequestTop_template").clientHeight;
var wRegionScrollableContainer_template_height = Height - wRegionRequestTop_template_height;
document.getElementById("wRegionScrollableContainer_template").setAttribute("style",
"height:" + wRegionScrollableContainer_template_height.toString() + "px");
}
</script>
RenderRegionAsync(wRegionContainer);
CGAddJavaScriptToAjaxResponse('FrameRequestFeedResize();'); // region is not completely loaded (or css not applyed for now), and my js code evaluates incorrect height
// CGAddJavaScriptToAjaxResponse('debugger; $(document).ready( function() {FrameRequestFeedResize();} );'); // not helps too...
function SCResizeProcessing()
{
MainFormResize();
if (document.getElementById("FRAMEREQUESTFEEDNEWIWFRAMEREGION") != null)
{
FrameRequestFeedResize();
};
}
I'll better make simple demo..