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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPITabStrip Problems...TabStrip Problems...
Previous
 
Next
New Post
7/17/2008 2:07 PM
 

Hello!

I'm running into a problem that is driving me batty.  I've read all I can find, but so far have found no answers.  Maybe someone can help; I think I'm missing something real simple.  My first inclination is that I am having a pathing problem.

My DNN installation is fairly straightforward; I haven't modified the file structure, so the js folder lives in [ROOT]/js.  Both properties ClientAPIScriptPath and TabStripScriptPath are equal to "js/".  I'm getting a JScript error near the bottom of the page that reads: "Microsoft JScript runtime error: 'dnn' is undefined."

The line of code that is causing the problem is this:

<script>dnn.controls.initTabStrip($('dnn_ctr401_gisProductsView_tsProductRelatedStuff'));

Here is the markup for the tab control:

 
<dnn:DNNTabStrip
    id="tsProductRelatedStuff"
    SelectedIndex="0"
    runat="server"
    DefaultLabel-CssClass="tablabel"
    DefaultLabel-CssClassSelected="tablabelselected"
    DefaultLabel-CssClassHover="tablabelhover"
    DefaultContainerCssClass="tabcontainer"
    CallbackStatusFunction="statusFunc"
    TabClickFunction="tabClick"
    ClientAPIScriptPath="js/"
    TabStripScriptPath="js/" >
    
    <dnn:DNNTab id="tabArticles" runat="server" Label-Text="Articles" CallBackType="Simple" TabCallbackPostMode="None" TabRenderMode="CallBack">This will show all related Articles</dnn:DNNTab>
    <dnn:DNNTab id="tabSpecs" runat="server" Label-Text="Technical Specs" CallBackType="Simple" TabCallbackPostMode="None" TabRenderMode="CallBack">This will show all related Technical Specs</dnn:DNNTab>
    <dnn:DNNTab id="tabNewsReleases" runat="server" Label-Text="News Releases" CallBackType="Simple" TabCallbackPostMode="None" TabRenderMode="CallBack">This will show all related News Releases</dnn:DNNTab>
    <dnn:DNNTab id="tabDownloads" runat="server" Label-Text="Downloads" CallBackType="Simple" TabCallbackPostMode="None" TabRenderMode="CallBack">This will show all related Downloads</dnn:DNNTab>
    <dnn:DNNTab id="tabDemo" runat="server" Label-Text="Demo" CallBackType="Simple" TabCallbackPostMode="None" TabRenderMode="CallBack">This will show a demo</dnn:DNNTab>
    
</dnn:DNNTabStrip>

I've tried several different values for the paths to the JS folder, but the only ones that blow up on me are the ones that I think would most likely be finding it OK ("~/js/" and ",/js/" along with the current value, "js/).  When I don't get an error, the control displays just fine and even switched between tabs OK, but no JScript is changing the styles on hover.

I would post a URL, but this is on my local box (XP Pro, IIS 5.1).  Anyway, I'm sure I'm missing something simple, so any help would be appreciated.

Thanks!

Davey Bolling

 

 
New Post
7/17/2008 4:38 PM
 

Please do a file -> Save As..  choose save as type as complete near bottom of dialog.  zip the contents it creates up and email me.  Reference this thread in the email.


 
New Post
7/18/2008 9:55 AM
 

Sure thing.  I'll fire that off in a few minutes.

 
New Post
7/22/2008 10:27 AM
 

I just wanted to check and make sure you got those files, and if not send them to another email address.  Let me know if you didn't get anything, and I'll send them again.

Thanks!

Davey Bolling

 
New Post
7/22/2008 5:15 PM
 

Didn't get them.  Please send again.   either jhenning AT solpart.com and/or jon.henning AT dotnetnuke.com


 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPITabStrip Problems...TabStrip Problems...


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