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  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
MadCap Software, Inc.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Complete TabStrip example usage
Previous Previous
 
Next Next
New Post 5/12/2008 1:55 AM
Unresolved
User is offline r_honey
105 posts
9th Ranked


Complete TabStrip example usage 

Can somebody provide me a complete sample (including Markup & Code Behind) of how to use a DNNTabStrip in a user control for a custom module.

All my efforts to get the TabStrip working are proving futile with the following error:

Line: 204

Char: 3

Error: 'tabClick' is undefined

Code: 0

URL: http://localhost/dnn

 

I am using the following markup for the purpose:

<DNN:DNNTabStrip id="DNNTabStrip" SelectedIndex="0" runat="server"
    TabClickFunction="tabClick" WorkImage="images/dnnanim.gif"
                    TabRenderMode="All"
                    CssTabContainer="LoginTabGroup"
                    CssContentContainer="LoginContainerGroup"
                    DefaultContainerCssClass="LoginContainer"
                    DefaultLabel-CssClass="LoginTab"
                    DefaultLabel-CssClassHover="LoginTabHover"
                    DefaultLabel-CssClassSelected="LoginTabSelected" >
   
        <dnn:DNNTab Label-Text="General" Label-ImageUrl="~/images/minus.gif" ID="tabGeneral" runat="server">
            <table>
                <tr>
                    <td><asp:Label runat="server" ID="lblName">Name</asp:Label></td>
                    <td><asp:TextBox runat="server" ID="txtName">dffgdfgdfg</asp:TextBox></td>
                </tr>
                <tr>
                    <td><asp:Label runat="server" ID="lblDesc">Description</asp:Label></td>
                    <td><asp:TextBox runat="server" Width="300px" ID="txtDesc">dfgdfgdfg</asp:TextBox></td>
                </tr>
            </table>
        </dnn:DNNTab>
       
        <dnn:DNNTab Label-Text="Advanced" Label-ImageUrl="~/images/plus.gif" ID="tabAdvanced" runat="server">
            <table>
                <tr>
                    <td><asp:Label runat="server" ID="lblFont">Name</asp:Label></td>
                    <td><asp:TextBox runat="server" ID="txtFont">Default</asp:TextBox></td>
                </tr>
                <tr>
                    <td><asp:Label runat="server" ID="lblColor">Color</asp:Label></td>
                    <td> <asp:DropDownList runat="server" Enablev13wstat3="False" ID="ddlColor" DataSource='<%# Me.Colors %>'></asp:DropDownList> </td>
                </tr>
                <tr>
                    <td><asp:Label runat="server" ID="lblLocation">Location</asp:Label></td>
                    <td> <asp:DropDownList runat="server" Enablev13wstat3="False" ID="ddlLocation" DataSource='<%# Me.Locations %>'></asp:DropDownList> </td>
                </tr>
            </table>
        </dnn:DNNTab>
</DNN:DNNTabStrip>
The Tab Headers get rendered as Text, which when clicked produce the above mentioned error!!!

 
New Post 5/12/2008 2:41 AM
User is offline Scott Stokes
108 posts
www.adverageous.com
9th Ranked


Re: Complete TabStrip example usage 

Funny thing, I was trying to remeber what the tab-control in DNN was called just a few hours ago...

My first guess would be that you have nothing in your codebehind defined for the "tabClick" function.

If I end up using this in my project, I'll post some sample code.   I imagine someone else around these forums will be able provide more information sooner than myself, however.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Complete TabStrip example usage
 


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.

 


EMAS Pro
Strategic Enrollment Management Software for Higher Education Recruitment, Retention and Financial Aid
www.emaspro.com
Subzero Solutions
Dutch / English DotNetNuke consultancy services. Custom module development in any version. Complete application integration. Small business portal hosting. Your ideas our innovation - Your success our motivation. K.v.k Amsterdam: 34236342
www.subzero-solutions.net
Hosting for DotNetNuke
SiteGround.com is the best place to host your DotNetNuke website! Expert DotNetNuke support, reliable servers, low price!
www.SiteGround.com

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