C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






Using syncfusion Tab Controls


Posted Date: 10 Jun 2008    Resource Type: Code Snippets    Category: Application windows, menus & toolbars
Author: Srinivas Member Level: Gold    
Rating: Points: 8



We Should Install Syncfusion setup to use the tools in VisualStudio.The following code sample gives the code to use Tab Control. These controls are used to give good look and feel

Add the following code at the header


<%@ Register TagPrefix="sb" Namespace="SourceCodeTab" Assembly="SourceCodeTab, Version=6.302.0.6, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89" %>
<%@ Register TagPrefix="ssw" Namespace="Syncfusion.Web.UI.WebControls.Tools" Assembly="Syncfusion.Shared.Web, Version=6.302.0.6, Culture=neutral, PublicKeyToken=3D67ED1F87D44C89" %>

function Tab1()
{
alert("Tab1 clciked");
}
function Tab2()
{
alert("Tab2 clicked");
}
function child1()
{
alert("child1 clicked");
}
function child2()
{
alert("child2 clicked");
}
</script>

<syncfusion:TabStrip ID="TabStrip1" runat="server" Width="100px"
OnClick="TabStrip_Clicked" AutoPostBack="True" AutoFormat="Office2007 Silver"> <Items> <syncfusion:TabStripItem Selected="True" Text="Tab1" ClientOnItemSelect="Tab1()">
<syncfusion:TabStripItem Text="Child Tab1" ClientOnItemSelect="child1()" >
</syncfusion:TabStripItem>
<syncfusion:TabStripItem Text="Child Tab2" ClientOnItemSelect="child2()">
</syncfusion:TabStripItem>
</syncfusion:TabStripItem>
<syncfusion:TabStripItem Text="Tab2" ClientOnItemSelect="Tab2()">
<syncfusion:TabStripItem Text="Child Tab1">
</syncfusion:TabStripItem>
<syncfusion:TabStripItem Text="Child Tab2">
</syncfusion:TabStripItem>
</syncfusion:TabStripItem>
</Items>
</syncfusion:TabStrip>


protected void TabStrip_Clicked(object sender, Syncfusion.Web.UI.WebControls.Tools.TabStripCommandEventArgs e)
{
Response.Write("tabstrip clicked");
}




Check the attachment for html code of this example.

Attachments

  • Using syncfusion Tab Controls (18443-10144-Using synfusioin menu control.aspx.txt)



  • Responses


    No responses found. Be the first to respond and make money from revenue sharing program.

    Feedbacks      
    Popular Tags   What are tags ?   Search Tags  
    Using Tab controls from Syncfusion  .  Using Syncfusion Tab controls  .  Syncfusion Tab controls  .  

    Post Feedback


    This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
    You must Sign In to post a response.
    Next Resource: How to use Menu,Multiview,View controls
    Previous Resource: Find number of days between two months
    Return to Discussion Resource Index
    Post New Resource
    Category: Application windows, menus & toolbars


    Post resources and earn money!
     
    Related Resources



    dotNet Slackers   BizTalk Adaptors    Web Design


    Contact Us    Privacy Policy    Terms Of Use