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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...dnn_bodyscroll is not defineddnn_bodyscroll is not defined
Previous
 
Next
New Post
7/3/2006 4:59 PM
 

Hello,

I've recently started using some telerik controls on my DNN module.  Actually, just one and only on one module because it seems to cause a javascript error when a user tries to scroll on a page with a module having the control.  Apparently the dnn_bodyscroll function isn't being found or something.  Strange.  Having the control on there also renames my page title to "skin.1" for some reason.  The functionality of the control works great.  In this case, it's their RadAjaxManager which converts my module to use ajax instead of posting back.  It's pretty darn sweet.  I just wish I could figure out what's up with this annoying javascript error that is generated.  Thanks for any help.


I'm too poor for anything other than the community version
 
New Post
7/3/2006 10:06 PM
 
Just to talk about my .ascx file a bit...

It has one main html table.  Inside the html table are other html tables and a bunch of labels and a dropdownlist.

I put the RadAjaxManager control at the bottom of the page below the main table.  With this control I get the issue.  Without the control I don't.  Haven't heard back from Telerik yet but I just submitted a ticket today.

I'm too poor for anything other than the community version
 
New Post
7/3/2006 11:14 PM
 
Using a javascript debugger it seems a DNN page without this radajaxmanager control loads up the corednn.js file which has in it the bodyscroll method and another that is called.  My page with the said control on it, does not load up the corednn.js file and therefore the bodyscroll method isn't found when called.

Anyone know a way to get around this?  I quickly tried copying the corednn.js methods to my .ascx file hoping that would work but it didn't.

I'm not sure why it's not getting called with the control on it.  Maybe the radajax.js file that is called is blocking all others?

I'm too poor for anything other than the community version
 
New Post
7/3/2006 11:41 PM
 
While my error is not quite the same as yours, I also am having issues with the radAjax manager in my DNN modules.

I did get it to work succesfully with the timer control in a module with very few controls on it. However, I can't really explain why it works and the others do not.

Hopefully Telerik will provide some insight.
 
New Post
7/4/2006 9:22 AM
 
Kevin,

They just replied to me that they are working on it.  And, they gave a temporary fix which has successfully gotten rid of the javascript error and the renaming of my browser window title...but with one side effect.

Just to sum up my understanding of the issue from my experience.  The RadAjaxManager control added to a page works...but seems to keep the page from loading the corednn.js script and throwing an error when the user scrolls the page because dnn_bodyscroll method is not found. They gave a temp workaround which involves a DNN core change.  Just add an attribute in the default.aspx page to the <head> tag ie runat="server".  So I edited my default.aspx page to read:

<HEAD id="Head" runat="server">

This has rid me of the javascript error and the page title renaming (to "skin.1" for some reason) but has the side effect issue that if a user uses the ajax functionality on the page...and then closes the IE after that it gives a:

The instruction at "0x10005f6c" referenced memory at "0x10005f6c."  The memory could not be "written."  Click OK to terminate the program.

If the user doesn't use the ajax functionality to update controls on the page and closes IE....no problems.  If the user uses the ajax funtionality and then browses to another page before closing IE...no problems.

I have no idea if this small core change will affect any other pages on my site but I'll certainly post here if it does.  Hopefully they'll come up with a change to the control that doesn't require a core change in the future.

I'm too poor for anything other than the community version
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...dnn_bodyscroll is not defineddnn_bodyscroll is not defined


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