Hi
until recently i used the non-prometheus version of ajax for my websites, but I am working towards moveing all my newer projects to prometheus ajax. My websites have a javascript and non javascript layer, and i use javascript to execute a command on the page load using ajax to set up the javascript layer.
Problem is on the first load it throws a js error and when i hit the refresh button it works as expected.
All the other ajaxified ontrols use the gotoPage javascript method and works 100 %
plz help
until recently i used the non-prometheus version of ajax for my websites, but I am working towards moveing all my newer projects to prometheus ajax. My websites have a javascript and non javascript layer, and i use javascript to execute a command on the page load using ajax to set up the javascript layer.
| <body onload="gotoPage('javascriptActive');"> |
| <form id="frm" runat="server"> |
| //All controls and ajax manager |
| </form> |
| <script langauge="javascript" type="text/javascript"> |
| function gotoPage(ID) |
| { |
| var ajax = <%= ajaxMan.ClientID %> |
| ajax.AjaxRequest(ID); |
| } |
| </script> |
| </body> |
Problem is on the first load it throws a js error and when i hit the refresh button it works as expected.
All the other ajaxified ontrols use the gotoPage javascript method and works 100 %
plz help
