473,387 Members | 1,575 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Navigate with Tabstrip

ae
can someone help me? i copied this from msdn, and can't get it to work on
the Response.Redirect. I think it should be that, and I also tried
Page.Navigate("www.yahoo.com"), but that gave me an error so I thought I'd
try it this way.

<%@ Register TagPrefix="ie" Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls" %>
<HTML>
<script runat="server">

protected void Tabstrip1_OnSelectedIndexChange(object sender, EventArgs e)
{
switch (Tabstrip1.SelectedIndex)
{
case 0:
Response.Redirect("www.yahoo.com");
break;
case 1:
Response.Redirect("www.google.com");
break;
}
}
</script>
<body>
<form runat="server" ID="Form1">
<ie:TabStrip runat="server"
TabDefaultStyle="background-color:#000000;font-family:verdana;font-weight:bold;font-size:8pt;color:#ffffff;width:79;height:21;text-align:center"
TabHoverStyle="background-color:#777777"
TabSelectedStyle="background-color:#ffffff;color:#000000"
ID="Tabstrip1" AutoPostback="true">
<ie:Tab Text="Yahoo" />
<ie:Tab Text="Google" />
<ie:Tab Text="Products" />
<ie:Tab Text="Support" />
<ie:Tab Text="Contact us" />
</ie:TabStrip>
</form>
</body>
</HTML>

Nov 19 '05 #1
0 1145

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Eric | last post by:
I'm currently using the TabStrip control, but am having slighly difficulties. I've managed to retrieve the Items from the TabStrip using the Items property. But how can I enforce the changes that...
0
by: mehul | last post by:
CheckBox template always evaluate to False even if checked in a DataGrid hosted inside a TabStrip in ASP.NET Hi, I am trying to develop an ASP.NET application. I am using TabStrip (which is...
0
by: yufufi | last post by:
Hi, I want to use tabstrip on my webpage. I found the tabstrip page and installed webcontrols from msdn. But I couldn't make tabstrip to work at client side. It always does a postback. I copied...
0
by: Greg Taylor | last post by:
I'm using the IE webcontrols (obviously) trying to dynamically generate a tabstrip based of a DTS package. I can get the tabstrip to show if I assign the generation after the page completely loads...
2
by: Bart Schelkens | last post by:
Hi, I've created a webusercontrol that contains a tabstrip (Microsoft.Web.UI.WebControls.TabStrip. I want to raise the event when the selected index of the tabstrip changes. I wrote the...
9
by: Phin | last post by:
Hi, I have spent some time trying to get the tabstrip and multipage to work (from the IE web controls). I read the article from:...
9
by: Mardy | last post by:
Hello I've been using the tabstrip and multipage controls and really like the way this combination allows users to switch between tabs without a postback. I'd like to get more detailed...
0
by: Abbas | last post by:
How can I dynamically add a tab in TabStrip? I want to add/delete/update tab items in TabStrip control from csharp file .cs. Is it possible? or TabStrip will show "only" those items which I...
10
by: hwt | last post by:
Hi, I am pretty new to access and have created a booking database. I have a form, which has a tabstrip on that contains all the details about a person on one page of the tabstrip and all the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.