473,803 Members | 3,637 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

TabStrip in User Web Control

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, Response.Redire ct takes me
to the appropriate page, but Tab0 is still selected. I
need to be able to programatically change the
SelectedIndex as the page loads, based on what tab was
selected on the previous page. How can I do that? Thanks.

Flynn
Nov 18 '05 #1
1 1232
Check out this article,
http://msdn.microsoft.com/msdnmag/is...e/default.aspx

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"Flynn Arrowstarr" <fl************ *@nowhere.net> wrote in message
news:00******** *************** *****@phx.gbl.. .
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, Response.Redire ct takes me
to the appropriate page, but Tab0 is still selected. I
need to be able to programatically change the
SelectedIndex as the page loads, based on what tab was
selected on the previous page. How can I do that? Thanks.

Flynn

Nov 18 '05 #2

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

Similar topics

4
1839
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
2045
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
2277
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!!
2
3149
by: floater55 | last post by:
So has anyone worked with the IE webcontrols much? I've found that they've come in very handy for Internet Explorer clients ... ON A WINDOWS PLATFORM ONLY! I've implemented the tabstrip control and it works out great (again only in IE on a PC). Does anyone have any suggestions for dynamically adapting this control to work with other browsers/platforms? Most specifically Safari on a OS X platform. The whole reason for my usage of this...
0
1538
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?
0
1860
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 part of IE WebControls). Inside a tab I have a datagrid defined as follows:
4
4632
by: Asim Qazi | last post by:
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)
0
1280
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...
0
1183
by: Chris Kettenbach | last post by:
Good Afternoon Everyone, Does anyone have any experience with the Component Art TabStrip control? On the click of the tabs it redirects to another page based on the nodes in an xml file. My question is, is there anyway to trap that event and cancel out of it? We have asp validator controls on the page and they work ok, however, clicking on the tabstrip allows the user to submit the page, whereas you will not submit if you click a...
0
9564
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10316
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...
0
10069
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...
1
7604
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6842
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
5500
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
5629
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2970
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.