473,394 Members | 1,841 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,394 software developers and data experts.

asp.net tabstrip control

Hi All i m using tab strip control plz help me setting its navigation
my cod is
private void TabStrip1_SelectedIndexChange(object sender, System.EventArgs
e)

{

switch (TabStrip1.SelectedIndex)

{

case 0:

Page.Navigate("AdminMain.aspx");

break;

case 1:

Page.Navigate("Addreseller.aspx");

break;

}

}

how to navigate to different pages on different tabs selected

this code in code behind of my page and i m getting error


Nov 18 '05 #1
4 4616
Hi,
What kijnd of tabstrip are you using???
Regards,
RJ

"Asim Qazi" wrote:
Hi All i m using tab strip control plz help me setting its navigation
my cod is
private void TabStrip1_SelectedIndexChange(object sender, System.EventArgs
e)

{

switch (TabStrip1.SelectedIndex)

{

case 0:

Page.Navigate("AdminMain.aspx");

break;

case 1:

Page.Navigate("Addreseller.aspx");

break;

}

}

how to navigate to different pages on different tabs selected

this code in code behind of my page and i m getting error


Nov 18 '05 #2
Microsoft.Web.UI.WebControls

let me explain it more clear
<iewc:tabstrip id="TabStrip1" style="Z-INDEX: 101; LEFT: 8px; POSITION:
absolute; TOP: 8px" runat="server"
TabSelectedStyle="background-color:#ffffff;color:#000000"
TabHoverStyle="background-color:#777777"

TabDefaultStyle="background-color:#000000;font-family:verdana;font-weight:bo
ld;font-size:8pt;color:#ffffff;width:79;height:21;text-align:center"
AutoPostBack="True">
<iewc:Tab Text="Tab 1"></iewc:Tab>
<iewc:Tab Text="Tab 2"></iewc:Tab>
<iewc:Tab Text="Tab 3"></iewc:Tab>
</iewc:tabstrip>

this code made thee tabs on my page .. no i want a code that is i select 1st
Tab it should load "1.aspx" and so on

can u plz help me

"RJDev" <RJ***@discussions.microsoft.com> wrote in message
news:88**********************************@microsof t.com...
Hi,
What kijnd of tabstrip are you using???
Regards,
RJ

"Asim Qazi" wrote:
Hi All i m using tab strip control plz help me setting its navigation
my cod is
private void TabStrip1_SelectedIndexChange(object sender, System.EventArgs e)

{

switch (TabStrip1.SelectedIndex)

{

case 0:

Page.Navigate("AdminMain.aspx");

break;

case 1:

Page.Navigate("Addreseller.aspx");

break;

}

}

how to navigate to different pages on different tabs selected

this code in code behind of my page and i m getting error


Nov 18 '05 #3
i have used webcontrols.tabstrip in conjugation with iframe.
what i do is onSelectedIndexChange i set iframe.attributes.add("src",
"page.aspx")

and it works like a treat

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"Asim Qazi" <qa**@advcomm.net> wrote in message
news:u2**************@TK2MSFTNGP09.phx.gbl...
Hi All i m using tab strip control plz help me setting its navigation
my cod is
private void TabStrip1_SelectedIndexChange(object sender, System.EventArgs
e)

{

switch (TabStrip1.SelectedIndex)

{

case 0:

Page.Navigate("AdminMain.aspx");

break;

case 1:

Page.Navigate("Addreseller.aspx");

break;

}

}

how to navigate to different pages on different tabs selected

this code in code behind of my page and i m getting error


Nov 18 '05 #4
Hi Dave
Thanks a lot , it worked fine and really worked like a treat ;)

Qazi Asim


"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:ei**************@TK2MSFTNGP15.phx.gbl...
i have used webcontrols.tabstrip in conjugation with iframe.
what i do is onSelectedIndexChange i set iframe.attributes.add("src",
"page.aspx")

and it works like a treat

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"Asim Qazi" <qa**@advcomm.net> wrote in message
news:u2**************@TK2MSFTNGP09.phx.gbl...
Hi All i m using tab strip control plz help me setting its navigation
my cod is
private void TabStrip1_SelectedIndexChange(object sender, System.EventArgs e)

{

switch (TabStrip1.SelectedIndex)

{

case 0:

Page.Navigate("AdminMain.aspx");

break;

case 1:

Page.Navigate("Addreseller.aspx");

break;

}

}

how to navigate to different pages on different tabs selected

this code in code behind of my page and i m getting error



Nov 18 '05 #5

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...
3
by: vikaskuk | last post by:
hi all, i am using tabstrip with multipage control in asp.net. i have put some textboxes on the first tab. my requirement is that whenever user makes some changes in any of textbox and moves...
2
by: Robert V. Hanson | last post by:
I have a user control built using the Microsoft IE Control. I declared a public variable as int32 (DefaultTab) in the user control. I can't seem to provide the correct syntax to the tabstrip...
0
by: Do | last post by:
Hi, I'm using the Microsoft IE Web Control for tabstrip. After a user enters some data and submits it, I want to activate another tab (and in making that tab active, I will also show another...
1
by: Flynn Arrowstarr | last post by:
I am using a TabStrip control in a .ascx file so I can create a menu navigation system for my ASP.NET application. The menu never changes, so I have every page in the app using the .ascx control....
0
by: Dave | last post by:
Greetings, I am using a tabstrip in a user control (ascx) in a web application (aspx) that is used to navigate between the different aspx pages. Whenever I click on one of them, the...
3
by: DalePres | last post by:
I have an application that uses the Microsoft.Web.UI.WebControls.TabStrip and Multipage controls. When I test the app on my pc or on my client's development web servers the controls render...
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:...
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...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.