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 ForumsClientAPIClientAPINow I am ConfusedNow I am Confused
Previous
 
Next
New Post
11/29/2006 10:13 AM
 

This is the problem with starting out with a complicated example.  You have code that is specific to that sample that you don't anticipate the need for in your module.  The tabClick funciton is defined in the TabStripRendering.aspx.js file, which I assume your module doesn't reference (or at least not the correct path).  Let me suggest removing some of the extra properties from your tabstrip markup.

<DNN:DNNTabStrip id="MyDNNTabStrip" SelectedIndex="0" runat="server" DefaultLabel-CssClass="tablabel"

DefaultLabel-CssClassSelected="tablabelselected" DefaultLabel-CssClassHover="tablabelhover" DefaultContainerCssClass="tabcontainer"

 

CallbackStatusFunction="statusFunc" TabClickFunction="tabClick" WorkImage="images/dnnanim.gif" >

 

 


 
New Post
11/29/2006 12:49 PM
 
Tthe tabstrip mark up is same as current

Here are the key parts of my code that have been changed for standard
in the ViewUT_ShowArticle.ascx.vb file
Namespace GR.Modules.UT_ShowArticle

       Partial Class ViewUT_ShowArticle
       'Public Class ViewUT_ShowArticle
       'Public Class TabStrip
       'Public Class TabStripRendering
       'Inherits System.Web.UI.Page

and in the ascx file its self

<%@ Register TagPrefix="DNN" Namespace="DotNetNuke.UI.WebControls"  Assembly="DotNetNuke.WebControls" %>
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="ViewUT_ShowArticle.ascx.vb" Inherits="GR.Modules.UT_ShowArticle.ViewUT_ShowArticle" %>

I have tried refering to the javascript files as follows
<link href="TabStripRendering.aspx.css" type="text/css" rel="stylesheet" />
<script src="TabStripRendering.aspx.js" type="text/javascript"></script>
<script src="/DesktopModules/UT_ShowArticle/TabStripRendering.aspx.js" type="text/javascript"></script>
     
but the error about the missing tabClick definition remains

I renamed the TabStripRendering.aspx.js to
ViewUT_ShowArticle.ascx.js and tried the following

 <script src="ViewUT_ShowArticle.ascx.js" type="text/javascript"></script>
  <script src="/DesktopModules/UT_ShowArticle/ViewUT_ShowArticle.ascx.js" type="text/javascript"></script>
<script src="../../DesktopModules/UT_ShowArticle/ViewUT_ShowArticle.ascx.js" type="text/javascript"></script>


I added the tabClick script to the ascx - still nothing

There is obviously an issue with my referencing the javascript but i cannot see it
The suprising thing for me is that this works on the aspx in the same module
directory when i browse  the file



but alas the problem is the same - apart from these changes there is little else done - so I assume it must be something to do with the namespace




Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
New Post
11/29/2006 1:03 PM
 

It's WORKING!

I deleted the setting   TabClickFunction="tabClick" and it works a treat

now I just need to work out how/why I can use that to fire a call for the next page

Thanks for the assistance Jon
I would like to look through the code and see about moving the tabs to the bottom -


Dave

Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPINow I am ConfusedNow I am Confused


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