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  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
FCKeditor Project
Salaro -- Skins and more
 


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.

 


ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com
Cestus Websites
DotNetNuke websites en services in Nederland. Cestus Websites levert websites, projectmanagent, skins, modules, training en gespecialiseerde hosting op basis van het CMS DotNetNuke.
www.dotnetnuke-websites.nl
FREE Skins, Modules & Control Panel!
Choose how much you want to pay on our Skins, Modules, Containers and Control Panel - Starting from FREE!
www.dnngroup.com

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