We have a long running process on a couple of our pages. Our technique is to load the page (with plenty of graphics) and then call an Ajax to load the long running process that will show up in a WebUserControl when finished.
In the past we used:
<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
<script type="text/javascript">
function MakeAjaxRequest(arguments) {
var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
ajaxManager.AjaxRequest(arguments);
}
window.onload = MakeAjaxRequest();
</script>
</telerik:RadScriptBlock>
This used to work fine in RadAjax, but since experimenting with Prometeus it doesn't seem to work - we get a javascript error stating "ajaxManager has no properties" and no ajax call is made.
Please Help! I've tried body onload and RadCodeBlock and all sorts of other things. If there is a better approach then please let me know.