Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  AJAX - How do I get it working
Previous Previous
 
Next Next
New Post 5/14/2008 1:25 AM
User is offline SupaHoopsa
58 posts
www.hrgworldwide.com
10th Ranked


Re: AJAX - How do I get it working 

<POP>

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

 
New Post 6/6/2008 2:09 AM
User is offline SupaHoopsa
58 posts
www.hrgworldwide.com
10th Ranked


Re: AJAX - How do I get it working 

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!!

 

 
New Post 6/6/2008 3:18 AM
User is offline SupaHoopsa
58 posts
www.hrgworldwide.com
10th Ranked


Re: AJAX - How do I get it working 

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!

 
New Post 6/13/2008 3:46 AM
User is offline GeoCentric Designs
156 posts
9th Ranked


Re: AJAX - How do I get it working 

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 Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  AJAX - How do I get it working
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Web Development and Strategy Firm
The Risdall Interactive Agency s websites, strategies, branding, & promotion in digital space.
www.Risdall.net/
Windsor Management Group
Fund Accounting Software for K12 Education.
Infinitevisions.com
Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP