473,516 Members | 3,488 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

tabs galore

Hey all,
I'm currently working on an asp.net 2.0 project that has many tabs on the
home page. Behind the scenes seems like a nightmare to manage because all the
tabs represented on the home page is a View control inside a MultiView
control (wow, i know). Well I need to add an extra tab to this and i'm afraid
to touch this thing.

does anyone know a good a way to abstract this new tab away from the
confusion cloud?

thanks,
rodchar
Feb 5 '07 #1
7 1089
"rodchar" <ro*****@discussions.microsoft.comwrote in message
news:C3**********************************@microsof t.com...
does anyone know a good a way to abstract this new tab away from the
confusion cloud?
Is this not all set up in the markup, then...?
Feb 5 '07 #2
Hi Mark,
I'm not sure I understand your reply, please forgive me. Could you please
elaborate a little.
Rodchar

"Mark Rae" wrote:
"rodchar" <ro*****@discussions.microsoft.comwrote in message
news:C3**********************************@microsof t.com...
does anyone know a good a way to abstract this new tab away from the
confusion cloud?

Is this not all set up in the markup, then...?
Feb 5 '07 #3
"rodchar" <ro*****@discussions.microsoft.comwrote in message
news:22**********************************@microsof t.com...
I'm not sure I understand your reply, please forgive me. Could you please
elaborate a little.
You mentioned that the tabs were set up using a MultiView control and a lot
of View controls - I was asking if this was done in the markup as opposed to
being dynamically created in code-behind...

Does it not resemble something like this:?
http://www.codeproject.com/aspnet/TabControl.asp

If so, is it not simply a question of adding another <asp:Viewcontrol
wherever you need the new tab to appear...?
Feb 5 '07 #4
yeah that's very true however, what i was wondering is with the basic View
control in place for the new tab could i take the guts of the new tab and
somehow extract it out into another page or user control, or better
suggestions?

"Mark Rae" wrote:
"rodchar" <ro*****@discussions.microsoft.comwrote in message
news:22**********************************@microsof t.com...
I'm not sure I understand your reply, please forgive me. Could you please
elaborate a little.

You mentioned that the tabs were set up using a MultiView control and a lot
of View controls - I was asking if this was done in the markup as opposed to
being dynamically created in code-behind...

Does it not resemble something like this:?
http://www.codeproject.com/aspnet/TabControl.asp

If so, is it not simply a question of adding another <asp:Viewcontrol
wherever you need the new tab to appear...?
Feb 5 '07 #5
"rodchar" <ro*****@discussions.microsoft.comwrote in message
news:1F**********************************@microsof t.com...
yeah that's very true however, what i was wondering is with the basic View
control in place for the new tab could i take the guts of the new tab and
somehow extract it out into another page or user control, or better
suggestions?
Er, well an <asp:Viewis just a container for other controls, so there's
really nothing to stop you doing anything you want with them...

I'm really not seeing what the problem is here...
Feb 5 '07 #6
i guess i just didn't want to have to go and add new code to the existing
code behind page because it is a huge code behind.

"Mark Rae" wrote:
"rodchar" <ro*****@discussions.microsoft.comwrote in message
news:1F**********************************@microsof t.com...
yeah that's very true however, what i was wondering is with the basic View
control in place for the new tab could i take the guts of the new tab and
somehow extract it out into another page or user control, or better
suggestions?

Er, well an <asp:Viewis just a container for other controls, so there's
really nothing to stop you doing anything you want with them...

I'm really not seeing what the problem is here...
Feb 6 '07 #7
"rodchar" <ro*****@discussions.microsoft.comwrote in message
news:D3**********************************@microsof t.com...
>i guess i just didn't want to have to go and add new code to the existing
code behind page because it is a huge code behind.
OK - here's what to do...

1) In Project Explorer, highlight the file in question.

2) Type Ctrl-C

3) Type Ctrl-V

You really will be OK... :-)
Feb 6 '07 #8

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

Similar topics

1
3409
by: Dan Jacobson | last post by:
In wdg-html-reference/html40/block/pre.html there is no mention about how ASCII tabs (^I) are to be rendered. I suppose all bets are off? Wait, my docs go thru html-tidy first, and it says tab-size: number Sets the number of columns between successive tab stops. The default is 4. It is used to map tabs to spaces when reading files. Tidy...
2
1293
by: Jim Hubbard | last post by:
I need an example of tabs usage like you might do in a tabbed browser application. I need to be able to open one or more tabs with customer data. Every tab is laid out exactly alike, only the customer data changes from tab to tab. Tabs should be able to be created at the front of all tabs, back of all tabs or between any 2 tabs. ...
1
2237
by: Bill Gates | last post by:
Hello, I am creating oblique tabs for a webapp. It needs to be oblique tabs, and not regular tabs that you see in web browsers. Here's how it looks like: http://auriance.com/docs/interaction/ As you can see, there is a horizontal rule under background tabs to tell people these are background tabs. The foreground tab (current tab) doesn't...
135
7343
by: Xah Lee | last post by:
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there's often the choices of tabs or spaces for code indentation. There is a large amount of confusion about which is better. It has become what's known as “religious war” — a heated fight over trivia. In this essay, i like to explain what is the...
6
1762
by: Stephen Edwards | last post by:
I am a novice, so bear with me. I designed a website using CSS TABS, all was fine, then I copy and pasted meta name, etc for keywords, tweaking it where necessary for keywords. I did not notice any problems until I looked at the site and although the text for the tabs was showing up the images which make up the tabs weren't. I have no...
15
2890
by: Tom Plunket | last post by:
The documentation for dedent says, "Remove any whitespace than can be uniformly removed from the left of every line in `text`", yet I'm finding that it's also modifying the '\t' characters, which is highly undesirable in my application. Is there any way to stop it from doing this, or alternatively, to put those tabs back in? I see that...
35
2672
by: Ben | last post by:
Hi, I have a python script on a unix system that runs fine. I have a python script on a windows system that runs fine. Both use tabs to indent sections of the code. I now want to run them on the same system, actually in the same script by combining bits and pieces. But whatever I try my windows tabs get converted to spaces when I transfer...
5
19142
by: wayniac | last post by:
I have a database built on 4 tabs, but inside one of those tabs I would like another group of tabs. The problem is that my second group of tabs are being displayed on ALL of the main 4 tabs and not the single tab that I would like it to. What I am asking is if anyone knows of a code that would only make my second group of tabs visible when only 1...
7
3740
by: Phil Reynolds | last post by:
I'm using a tab control in Access 2000, and the user requested to have buttons in the form header, instead of the built-in tabs (so that when they scroll down, they can still switch tabs). Now, this works fine. However, when I'm in Design View, I can't access the tabs without changing the tab control's Style back to Tabs. But I want to be able...
0
7273
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, well explore What is ONU, What Is Router, ONU & Routers main...
0
7182
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...
0
7574
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...
1
7136
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...
0
7547
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...
0
5712
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5106
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...
0
1620
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
1
823
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.