?
Solved

Tabbed display in ASP.net

Posted on 2003-11-17
10
Medium Priority
?
318 Views
Last Modified: 2008-02-01
Hi all

I require a a tabbed view on an ASP.net form. Am currently converting from Access and they have nice Tabbed form control.

So all I need is a way to allow the user to click a tab or button then display that tabs info. There will be data to put on tabs so I would like to just redraw page if possible rather than reload the data from server....if this is possible.

I guess what I am asking is can VB.Net/ ASP.Net do a an Access tabbed form control???

Please supply code sample as I need to recreate this.

cheers

George
0
Comment
Question by:Geo123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 9768546
the 'tabbed' display in ASP.NET does NOT behave the same way that you are ued to with Access.  Each 'tab', is in fact a COMPLETELY NEW web page, and requires a complete round trip to the Server and Back.  It just LOOKS like a Tabbed page.  The think to remember is that the INTERACTION model (how the use interacts with the application) is COMPLETELY DIFFERENT when dealing with ASP.NET, from what it is/was with a Windows application like Access.

What you get is a web-page (ASP.NET) that *looks like* a tabbed dialog, but each 'tab' is in fact a Hyperlink to the page that presents what would appear to be a new TAB PAGE - in fact, it *is* a completely ne and independent page.  The tabbed dialog per se DOES NOT exist.

AW
0
 
LVL 3

Author Comment

by:Geo123
ID: 9770357
ok can I use 1 page and when they hit a button it shows or hides a panel. Thus only using 1 trip to get data, and showing and hiding relevant panel/ pane.

Or what about a bookmark thing jumping down to tab to view??

cheers George
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 9770566
I don't think so.  Look at the way the EE page works.  It 'behaves' like a Tabbed dialog, but when you choose from the topic bar ("home", "Career", "storage", etc) as if these were tabs on a Tabbed dialog, you are sent back to the server, to get the new page.  That is how ASP works.  And I doubt that you REALLY want to DOWNLOAD ALL of the data necessary for MULTIPLE tab pages, on the chance that the user might wat to navigate to one of the other pages.  It will be MUCH more efficient, in the long run, to simple navigate to the page the user want, load it (on the server) and send the requested page back to the browser, on demand.

AW
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
LVL 3

Author Comment

by:Geo123
ID: 9771597
no once my users are in a Company record they will be lokoing at only that companys data...about 20-30 fields worth... so you see after that initial company selection I dont need to go back to server...I willl have all the data user need for that company...this is more to do with page layout. Am moving current Access application to website.

Also going back to server would increase the bandwidth for application would it not??

cheers George
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 9772803
sorry, but trying to move an Access app to the web, without clearly understanding the FUNDAMENTAL differences in the behavior of the User Interface in the two EXTREMELY different arenas is asking for trouble.  It is NOT simply a matter of translating an Access form to it equivalent in ASP.NET.  It does not work like that.

I have done both - Access application and then a web-enabled VERSION with the same basic FUNCTIONALITY, but NOT the IDENTICAL behavior.  You will need to adapt the UI to accomodate the web paradigm.  This will be especially so if you are also migrating to ASP.NET.  Is your application code written from a OO perspective.  Are you going to use Access as trhe back-end (a VERY BAD idea, but it is up to you).

There are MAJOR behavior differences - for instance, ComboBoxes MUST - repeat MUST- make a round-trip to the server, cannot be avoided - results in what is called a 'post-back' of the SAME page, back to the browser.  You will need to handle the POSTBACK in the Page_Load event handler in your VB.NET code for the page.  And this is just one of many such differences.  So be prepared for a rather steep learning curve, and be willing to change your approach to the solution, becuase change is REQUIRED to deal with the web-based forms as opposed to Windows based forms.

AW

0
 
LVL 3

Author Comment

by:Geo123
ID: 9796500
AW I already have done a SQL Server 7 and ASP front end last year. So am familair with some of concepts.

This conversion will use VB.Net and SQl Server backend.

So what about using Panels to show / hide controls and simulate a tabbed display?

I have done a create search fields at runtime prototype for another job and the Ispostback to check state to retain the dropdownlists user selection...so thats not a problem.

This application will have 150 users so bandwith is important.

cheers

George
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 9796766
as far as I am aware, there is no Tab Page control for ASP.NET, either dfrom MS or from a third party, but I could be wrong on the latter.  I currently have no need for such a control, so I haven't looked.

Sorry I can't be of more help.

Good luck

AW

0
 
LVL 3

Author Comment

by:Geo123
ID: 9798285
MS has free addon componant for mutlitab and something else but I have yet to see any code that I can get to work
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 10268098
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

PAQ with points refunded

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheLearnedOne
EE Cleanup Volunteer
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 10321352
PAQed, with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question