Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > TabStrip IndexChange problem

Reply
Thread Tools

TabStrip IndexChange problem

 
 
Don Schilling
Guest
Posts: n/a
 
      05-06-2005
I have a tab strip that works fine, excpet, whatever tab is in the first
position, when clicked, the SelectedIndex is blank. Here is the event, all
I'm doing is showing the index to a label. No matter which tab I put into
position 0, when clicked, the label is empty.

private void chng_tsTop(object sender, System.EventArgs e)
{
lblMsg.Text = tsTop.SelectedIndex.ToString();


<iewc:tabstrip id="tsTop" runat="server" Font-Bold="True" Font-Size="10pt"
Font-Names="Tahoma"
BorderWidth="2px" BorderStyle="Outset"
TabDefaultStyle="background-color:#1a526b;color:#ffff99;width:79;height:21;t
ext-align:center;"
TabHoverStyle="background-color:#4e4eba;"
TabSelectedStyle="background-color:#327896;color:#ffffff;"
AutoPostBack="True" EnableViewState="False">
<iewc:Tab Text="Contacts" ID="Contacts" TabIndex="3"></iewc:Tab>
<iewc:Tab Text="Search" ID="Search" TabIndex="1"></iewc:Tab>
<iewc:Tab Text="Customers" ID="Customers" TabIndex="2"></iewc:Tab>
<iewc:Tab Text="Projects" ID="Projects" TabIndex="4"></iewc:Tab>
</iewc:tabstrip>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hi guys . i have problem in dropldown list select indexchange event Thanigaimani.thirumalai ASP .Net Web Controls 0 11-07-2007 02:59 PM
Print Preview PROBLEM for TabStrip and MultiPage controls. =?Utf-8?B?Sm9obg==?= ASP .Net 0 04-12-2005 07:27 PM
Problem programmatically creating tabstrip webcontrol Hal ASP .Net Web Controls 1 10-31-2003 05:12 AM
problem using Microsoft.Web.UI.Webcontrols Tabstrip Pooja Renukdas ASP .Net Building Controls 0 08-07-2003 01:10 PM
Tabstrip and javascript problem Calvin ASP .Net Web Controls 0 07-11-2003 07:15 AM



Advertisments