Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...AJAX - How do I get it workingAJAX - How do I get it working
Previous
 
Next
New Post
5/14/2008 4:25 AM
 

<POP>

Just to get this thread back to the font page in the desparate hope that someone can help!!


Blue & White hooped blood runs through my veins!
 
New Post
6/6/2008 5:09 AM
 

OK I'm back again and I still CANNOT get AJAX working on my Staging environment.

In my latest effort to try and fix this I am looking at the HTML generated by my portals.

In my local version (where AJAX DOES work) I found the following lines:

 

<script src="/DNN_481/js/dnncore.js" type="text/javascript"></script>

 

<script src="/DNN_481/js/dnn.js"></script>

 

<script src="/DNN_481/ScriptResource.axd?d=6IEVWa0Bjp0rWhEmXnvvYI0Ml__UDdpxilYyGg_v8EPMHE11KOLZOX5Si0vtuy_UfbzEYq86g1av0G1QZlQo1VLjRm_UlhqOCL9d91L-l4E1&amp;t=633054065213419867" type="text/javascript"></script>

 

<script src="/DNN_481/ScriptResource.axd?d=6IEVWa0Bjp0rWhEmXnvvYI0Ml__UDdpxilYyGg_v8EPMHE11KOLZOX5Si0vtuy_UfbzEYq86g1av0G1QZlQo1XCPYE5j8iI2eQvyaej0QPf3-SZPTdAU9A2&amp;t=633054065213419867" type="text/javascript"></script>

 

<script type="text/javascript">

//

<![CDATA[

Sys.WebForms.PageRequestManager._initialize('ScriptManager', document.getElementById('Form'));

Sys.WebForms.PageRequestManager.getInstance()._updateControls([], [], [], 90);

//

]]>

 

</script>

However in my STAGE environemnt (where AJAX does NOT work) I find the following:

 

<script src="/WebResource.axd?d=DM6iDFiCv8Aoj1Uq9ZnJGw2&amp;t=633336088302550150" type="text/javascript"></script>

 

<script src="/js/dnncore.js" type="text/javascript"></script>

 

<script src="/js/dnn.js"></script>

 

<script src="/ScriptResource.axd?d=GZQwSYQPYc0A_TRH4ET9vIgAJXOSn1SDCxXiTpcnFm3L6AqcfESVq4CTUPwm3Y7F8u9eyNCUSIwuHrQqS3UAl7J1cqB8FUuj0&amp;t=633124981456806825" type="text/javascript"></script>

 

So, in my local environment, the HTML is initialising a ScriptManager, whereas in my STAGE environment there is no reference anywhere to a ScriptManager.

I have I have proved that AJAX is installed on the STAGE web server - I used the DotNetNuke.Framework.AJAX.IsInstalled method to prove it.

 

So come on then guys, anyone got any suggestions why my STAGE environment is NOT referencing a ScriptManager?

And is this why AJAX is not working on my Stage environment?

Any other ideas?

Please, please HELP!!

 


Blue & White hooped blood runs through my veins!
 
New Post
6/6/2008 6:18 AM
 

My last post referred to the ScriptManager line I found, but I no longer think that is the problem.

More investgation has found that when I switch on Partial Rendering for the CurrencyConverter module, I see the following javascript at the end of my HTML page:

 Sys.Application.initialize();
// -->
</script>
<script>dnn.controls.initLabelEdit(dnn.dom.getById('dnn_ctr468_dnnTITLE_lblTitle'));</script><script>dnn.controls.initLabelEdit(dnn.dom.getById('dnn_ctr370_dnnTITLE_lblTitle'));</script>
<script type="text/javascript">
<!--
Sys.Application.add_init(function() {
$create(Sys.UI._UpdateProgress, {"associatedUpdatePanelId":"dnn_ctr370_ViewCurrencyConverter_UP","displayAfter":500,"dynamicLayout":true}, null, null, $get("dnn_ctr370_ViewCurrencyConverter_UP_Prog"));
});
// -->
</script>
<script>dnn.controls.initLabelEdit(dnn.dom.getById('dnn_ctr346_dnnTITLE_lblTitle'));</script><script>dnn.controls.initLabelEdit(dnn.dom.getById('dnn_ctr346_HtmlModule_lblContent'));</script><script>dnn.controls.initLabelEdit(dnn.dom.getById('dnn_ctr466_dnnTITLE_lblTitle'));</script><script>dnn.controls.initLabelEdit(dnn.dom.getById('dnn_ctr458_dnnTITLE_lblTitle'));</script>
<script type="text/javascript">
<!--
Sys.Application.add_init(function() {
$create(Sys.UI._UpdateProgress, {"associatedUpdatePanelId":"dnn_ctr458_ViewTravelList_UP","displayAfter":500,"dynamicLayout":true}, null, null, $get("dnn_ctr458_ViewTravelList_UP_Prog"));
});
// -->
</script>
<script>dnn.controls.initLabelEdit(dnn.dom.getById('dnn_ctr459_dnnTITLE_lblTitle'));</script>
<script type="text/javascript">
<!--
Sys.Application.add_init(function() {
$create(Sys.UI._UpdateProgress, {"associatedUpdatePanelId":"dnn_ctr459_ViewTravelList_UP","displayAfter":500,"dynamicLayout":true}, null, null, $get("dnn_ctr459_ViewTravelList_UP_Prog"));
});
// -->
</script>
<script>dnn.controls.initLabelEdit(dnn.dom.getById('dnn_ctr465_dnnTITLE_lblTitle'));</script><script>dnn.controls.initLabelEdit(dnn.dom.getById('dnn_ctr426_dnnTITLE_lblTitle'));</script><script>dnn.controls.initLabelEdit(dnn.dom.getById('dnn_ctr426_HtmlModule_lblContent'));</script><script>dnn.controls.initLabelEdit(dnn.dom.getById('dnn_ctr452_dnnTITLE_lblTitle'));</script><script>dnn.controls.initLabelEdit(dnn.dom.getById('dnn_ctr425_dnnTITLE_lblTitle'));</script><script>dnn.controls.initLabelEdit(dnn.dom.getById('dnn_ctr399_dnnTITLE_lblTitle'));</script>
<script type="text/javascript">
<!--
Sys.Application.add_init(function() {
$create(Sys.UI._UpdateProgress, {"associatedUpdatePanelId":"dnn_ctr399_ViewPreTripInfo_UP","displayAfter":500,"dynamicLayout":true}, null, null, $get("dnn_ctr399_ViewPreTripInfo_UP_Prog"));
});
// -->
</script>
<script>dnn.controls.initLabelEdit(dnn.dom.getById('dnn_ctr403_dnnTITLE_lblTitle'));</script></form>
</body>
</html> 

 

However I DON'T see this Javascript in my STAGE environment despite switching on Partial Rendering for the CurrencyConverter module. Can anyone out there explain where/how this Javascript is generated?

Maybe then I might be able to get to the bottom of my problem!


Blue & White hooped blood runs through my veins!
 
New Post
6/13/2008 6:46 AM
 

I'm no AJAX expert but it seems to me that something is disabled somewhere in DNN. Isn't there ANY good AJAX people on here? You might want to try Powerdnn Atomic support. I'm positive they can help.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...AJAX - How do I get it workingAJAX - How do I get it working


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out