473,653 Members | 3,000 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

asp.net tabstrip control

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

{

switch (TabStrip1.Sele ctedIndex)

{

case 0:

Page.Navigate(" AdminMain.aspx" );

break;

case 1:

Page.Navigate(" Addreseller.asp x");

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 4627
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_Selec tedIndexChange( object sender, System.EventArg s
e)

{

switch (TabStrip1.Sele ctedIndex)

{

case 0:

Page.Navigate(" AdminMain.aspx" );

break;

case 1:

Page.Navigate(" Addreseller.asp x");

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.U I.WebControls

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

TabDefaultStyle ="background-color:#000000;f ont-family:verdana; font-weight:bo
ld;font-size:8pt;color: #ffffff;width:7 9;height:21;tex t-align:center"
AutoPostBack="T rue">
<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***@discussi ons.microsoft.c om> wrote in message
news:88******** *************** ***********@mic rosoft.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_Selec tedIndexChange( object sender, System.EventArg s e)

{

switch (TabStrip1.Sele ctedIndex)

{

case 0:

Page.Navigate(" AdminMain.aspx" );

break;

case 1:

Page.Navigate(" Addreseller.asp x");

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.tab strip in conjugation with iframe.
what i do is onSelectedIndex Change i set iframe.attribut es.add("src",
"page.aspx" )

and it works like a treat

--

Regards,

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

{

switch (TabStrip1.Sele ctedIndex)

{

case 0:

Page.Navigate(" AdminMain.aspx" );

break;

case 1:

Page.Navigate(" Addreseller.asp x");

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******** ******@TK2MSFTN GP15.phx.gbl...
i have used webcontrols.tab strip in conjugation with iframe.
what i do is onSelectedIndex Change i set iframe.attribut es.add("src",
"page.aspx" )

and it works like a treat

--

Regards,

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

{

switch (TabStrip1.Sele ctedIndex)

{

case 0:

Page.Navigate(" AdminMain.aspx" );

break;

case 1:

Page.Navigate(" Addreseller.asp x");

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
1832
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 I've made to the Tabs within the TabItemCollection retrieved from TabStrip.Items?
3
2038
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 to next tab without saving this data he should get alert message and should be stopped on current tab itself.
2
2273
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 property other than SelectedIndex = 1 which works but if I try SelectedIndex = DefaultTab, it fails stating that DefaultTab is not a valid value for Int32. Thanks in advance for any help!!
0
1526
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 page (from multipage). How do I get at the tabstrip or multipage properties to set them? Do I set the selectedindex if I want it active?
1
1227
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. I have the TabStrip set up, and it calls the pages correctly. However, I can't figure out how to change the SelectedIndex when the page loads. For instance, the application loads with Tab0 as the default. When I click on Tab1,...
0
1271
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 response.redirect command works fine, but the page reloads with the first tab selected every time. If I try to change the selectedindex, it runs my SelectedIndexChanged routine so that doesn't work either. Is there a way I can change the selectedindex of...
3
6159
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 properly. When I deploy the app to the test environment - supposedly an exact duplicate of the development environment - the TabStrip and Multipage controls do not render - the text of the tabs are displayed in a line, but no tabs. This is the same...
9
8468
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: http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/overview/tabstrip.asp On the bottom of the above URL there is a button that says "show me" where you can see the tabstip and multipage in action. On the "show me"
0
1014
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 made at design time? Thanks
0
8370
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8811
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8704
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8470
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8590
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5620
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4147
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4291
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2707
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.