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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Problem with new drop-down controls in Admin and Host pagesProblem with new drop-down controls in Admin and Host pages
Previous
 
Next
New Post
2/11/2013 6:13 PM
 

I am testing an upgrade of a DNN 6.X site to 7.0.3.  Server is 2008R2 with IIS 7.5.  The database is on SQL Server 2008R2.

There seems to be a javascript problem with the new drop-down controls, as used on the HTML Editor Manager page.  I get the same 2 errors in the javascript console:

SCRIPT5007: Object expected
and
SCRIPT5007: Unable to get property 'dnnComboBoxScroll' of undefined or null reference

None of the dropdowns on any of the Admin or Host pages will work.  Neither will the tree node expansion controls, as in the Pages page.  Once I log-in, the admin toolbar overlays the top of my pages (including my logout link) and none of its drop-downs work either.

The rest of my site is working fine.

 

 
New Post
2/12/2013 10:17 AM
 

I have been able to identify and resolve the problem.

I have some of my own JavaScript and jQuery in my skin, and hoping to avoid conflict, the scripts began with jQuery.NoConflict() and did not use the $ function.  Apparently, this killed the Telerik controls.

I have removed the jQuery.NoConflict() call, and changed the function calls to $.function() instead of jQuery.function() and now the Admin toolbar and the controls on the Admin and Hosts pages are now working.

Now, on to the CSS variances introduced by DNN 7.

 
New Post
3/7/2013 5:20 PM
 
Hi Chris,

Can you please post the code that fix your problem? I think I have the same problem.

I have inner pages that use jquery-ui. My home page is working fine and it does not use jquery-ui.


thanks
 
New Post
3/8/2013 6:56 AM
 

Hi Louie.

The problem was my jQuery code.  I had used the jQuery ,noConflict() function, and then prefixed all of my jQuery function calls with jQuery instead of the $.

I changed:

 jQuery.noConflict(); 
jQuery(document).ready(function() { ... });

to simply: 
$(document).ready( function() { ... });

I have also learned that the best way to get an external JavaScript file into your page is via the use of the DNN Client Resource Management controls.  The example below loads my JavaScript for a module that I am developing.  

Add this to the top of your ascx:
<%@ Register TagPrefix="dnn" Namespace="DotNetNuke.Web.Client.ClientResourceManagement" Assembly="DotNetNuke.Web.Client" %> 

Load the JavaScript file like this:
<dnn:dnnjsinclude runat="server" filepath="/DesktopModules/RMSSocial/Scripts/RMSSocial.js" /> 
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Problem with new drop-down controls in Admin and Host pagesProblem with new drop-down controls in Admin and Host pages


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