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 !




tab control help meee....


Posted Date: 05 Jul 2008      Total Responses: 1

Posted By: Rathi       Member Level: Gold     Points: 1



hai friends

how to create tab control






regards
rathi





Responses

Author: Jaya Kumar    05 Jul 2008Member Level: GoldRating:     Points: 6

<cc1:TabContainer ID="tabSiteManagement" runat="server" ActiveTabIndex="1">
<cc1:TabPanel runat="server" ID="tbGeneral" HeaderText="General">
<ContentTemplate>
<table width="100%" border="0" align="center" class="inside" cellpadding="3" cellspacing="0">
<tr class="TRSubHead">
<td colspan="3">
Testimonial Settings
</td>
</tr>
<tr class="TR">
<td>
Max Display Testimonials</td>
<td colspan="2">
<asp:DropDownList id="ddlTestimonial" runat="server">
<asp:ListItem Value="0">Select</asp:ListItem>
<asp:ListItem Value="5">5</asp:ListItem>
<asp:ListItem Value="10">10</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr class="TR">
<td colspan="3" align="center">
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
</td>
</tr>
</table>
</ContentTemplate>
</cc1:TabPanel>
<cc1:TabPanel runat="server" ID="tbListings" HeaderText="Listings">
<ContentTemplate>
<table width="100%" border="0" align="center" class="inside" cellpadding="3" cellspacing="0">
<tr class="TRSubHead">
<td colspan="3">
Listing Settings
</td>
</tr>
<tr class="TRSubHead">
<td colspan="3">
Free User
</td>
</tr>
<tr class="TR">
<td>
User Type</td>
<td colspan="2">
<asp:DropDownList ID="ddlUserType" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlUserType_SelectedIndexChanged">
</asp:DropDownList>
</td>
</tr>
<tr class="TR">
<td>
No of Listings can Upload</td>
<td colspan="2">
 <asp:TextBox id="txtNoOfListings" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator id="valNoOfListings" runat="server" ControlToValidate="txtNoOfListings"
ErrorMessage="Required"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" ControlToValidate="txtNoOfListings"
ErrorMessage="Only Numbers Allowed" ValidationExpression="[0-9]*[0-9]"></asp:RegularExpressionValidator></td>
</tr>
<tr class="TR">
<td colspan="3" align="center">
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
</td>
</tr>
</table>
</ContentTemplate>
</cc1:TabPanel>
<cc1:TabPanel runat="server" ID="TabMap" HeaderText="Map">
<ContentTemplate>
<table width="100%" border="0" align="center" class="inside" cellpadding="3" cellspacing="0">
<tr class="TRSubHead" align="left">
<td colspan="2">
Map Settings
</td>
</tr>
<tr class="TR" align="left">
<td>
Map to Display</td>
<td>
<asp:DropDownList id="ddlMap" runat="server">
<asp:ListItem Value="1">Google</asp:ListItem>
<asp:ListItem Value="0">Yahoo</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr align="left" class="TR">
<td>
Icon Color for Open House</td>
<td>
<asp:RadioButtonList id="rblOpenHouse" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Selected="True" Value="..\Public\Images\open.png"><img src='..\Public\Images\open.png' alt='Open' border='0'></asp:ListItem>
<asp:ListItem Value="..\Public\Images\open1.png"><img src='..\Public\Images\open1.png' alt='Open1' border='0' height='25' width='25'></asp:ListItem>
<asp:ListItem Value="..\Public\Images\open2.png"><img src='..\Public\Images\open2.png' alt='Open2' border='0' height='25' width='25'></asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr align="left" class="TR">
<td>
Icon Color for New Listing</td>
<td>
<asp:RadioButtonList id="rdoNewListing" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Selected="True" Value="..\Public\Images\new.png"><img src='..\Public\Images\new.png' alt='New' border='0'></asp:ListItem>
<asp:ListItem Value="..\Public\Images\new1.png"><img src='..\Public\Images\new1.png' alt='New1' border='0' height='25' width='25'></asp:ListItem>
<asp:ListItem Value="..\Public\Images\new2.png"><img src='..\Public\Images\new2.png' alt='New2' border='0' height='25' width='25'></asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr align="left" class="TR">
<td>
Icon Color for Commercial</td>
<td>
<asp:RadioButtonList id="rdoCommercial" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Selected="True" Value="..\Public\Images\commercial.png"><img src='..\Public\Images\commercial.png' alt='Commercial' border='0'></asp:ListItem>
<asp:ListItem Value="..\Public\Images\commercial1.png"><img src='..\Public\Images\commercial1.png' alt='Commercial1' border='0' height='25' width='25'></asp:ListItem>
<asp:ListItem Value="..\Public\Images\commercial2.png"><img src='..\Public\Images\commercial2.png' alt='Commercial2' border='0' height='25' width='25'></asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr align="left" class="TR">
<td>
Icon Color for Rental</td>
<td>
<asp:RadioButtonList id="rdoRental" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Selected="True" Value="..\Public\Images\rental.png"><img src='..\Public\Images\rental.png' alt='Rental' border='0'></asp:ListItem>
<asp:ListItem Value="..\Public\Images\rental1.png"><img src='..\Public\Images\rental1.png' alt='Rental1' border='0' height='25' width='25'></asp:ListItem>
<asp:ListItem Value="..\Public\Images\rental2.png"><img src='..\Public\Images\rental2.png' alt='Rental3' border='0' height='25' width='25'></asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr align="left" class="TR">
<td>
Icon Color for Sales</td>
<td>
<asp:RadioButtonList id="rdoSales" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Selected="True" Value="..\Public\Images\sales.png"><img src='..\Public\Images\sales.png' alt='Sales' border='0'></asp:ListItem>
<asp:ListItem Value="..\Public\Images\sales1.png"><img src='..\Public\Images\sales1.png' alt='Sales1' border='0' height='25' width='25'></asp:ListItem>
<asp:ListItem Value="..\Public\Images\sales2.gif"><img src='..\Public\Images\sales2.gif' alt='Sales2' border='0' height='25' width='25'></asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr align="left" class="TR">
<td>
Icon Color for Service Company</td>
<td>
<asp:RadioButtonList id="rdoServiceCompany" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Selected="True" Value="..\Public\Images\service.gif"><img src='..\Public\Images\service.gif' alt='Service' border='0' height='25' width='25'></asp:ListItem>
<asp:ListItem Value="..\Public\Images\service1.gif"><img src='..\Public\Images\service1.gif' alt='Service1' border='0' height='25' width='25'></asp:ListItem>
<asp:ListItem Value="..\Public\Images\service2.gif"><img src='..\Public\Images\service2.gif' alt='Service2' border='0' height='25' width='25'></asp:ListItem>
</asp:RadioButtonList>
</td>
</tr>
<tr align="left" class="TR">
<td>
</td>
<td>
</td>
</tr>
</table>
</ContentTemplate>
</cc1:TabPanel>
</cc1:TabContainer>



Post Reply
You must Sign In to post a response.
Next : Input string was not in a correct format
Previous : What is Repeater control?
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use