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

Fitting lots of fields on one web page

I'm new to asp.net.

I have an ASP.Net form that contains literally 50 fields for the user to
enter for a contacts details.

All these fields are stored in the one table.
So I have a class that I load the values into and out of.
All that is fine.

The issue is that the form is very long vertically by the time I've added
calendar controls and field validators etc.
So the user has to do a lot of scrolling to work their way through a form.

What's the best way to handle lots of fields on the form please?
Should I use tabs or something like that?
Does tabs or such mean having multiple pages?
How could I keep the details in the Contacts class across multiple pages?

As you can see, I'm just not sure how to approach the issue.
Any help would be appreciated.
Nov 19 '05 #1
3 1343
Use Tab Controls, or use simple divs, and hide and show them as the user
moves through the form using javascript. Technically, thats all a tab
control would do anyway behind the scenes.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Geoff C Melbourne" <Geoff C Me*******@discussions.microsoft.com> wrote in
message news:91**********************************@microsof t.com...
I'm new to asp.net.

I have an ASP.Net form that contains literally 50 fields for the user to
enter for a contacts details.

All these fields are stored in the one table.
So I have a class that I load the values into and out of.
All that is fine.

The issue is that the form is very long vertically by the time I've added
calendar controls and field validators etc.
So the user has to do a lot of scrolling to work their way through a form.

What's the best way to handle lots of fields on the form please?
Should I use tabs or something like that?
Does tabs or such mean having multiple pages?
How could I keep the details in the Contacts class across multiple pages?

As you can see, I'm just not sure how to approach the issue.
Any help would be appreciated.

Nov 19 '05 #2
John

Thanks for taking the time to respond. I really appreciate it.
But I'm so unsure with asp.net that I don't understand what you meant.

1. I assume that by saying to use tab controls and hide and show ... that
you mean:
* All the 50 fields plus associated validation controls etcetera are on the
one form
* That I hide and show them as necessary
* That I have to move their location on the web form programatically when a
tab is clicked
(Since otherwise I'd have to overlay them on top of each other in design
view if I wanted them neatly displayed when the form is run)

2. Or is it a case of clicking on a tab leads to a separate page?
In which case I'm back to my issue of how I keep the class with it's 50
fields available to multiple pages. I assume I wouldn't/couldn't use a
session variable for something so large.

3. I'm sorry, but I don't understand what you mean by 'simple divs'

Thanks again

Geoff
"John Timney (ASP.NET MVP)" wrote:
Use Tab Controls, or use simple divs, and hide and show them as the user
moves through the form using javascript. Technically, thats all a tab
control would do anyway behind the scenes.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Geoff C Melbourne" <Geoff C Me*******@discussions.microsoft.com> wrote in
message news:91**********************************@microsof t.com...
I'm new to asp.net.

I have an ASP.Net form that contains literally 50 fields for the user to
enter for a contacts details.

All these fields are stored in the one table.
So I have a class that I load the values into and out of.
All that is fine.

The issue is that the form is very long vertically by the time I've added
calendar controls and field validators etc.
So the user has to do a lot of scrolling to work their way through a form.

What's the best way to handle lots of fields on the form please?
Should I use tabs or something like that?
Does tabs or such mean having multiple pages?
How could I keep the details in the Contacts class across multiple pages?

As you can see, I'm just not sure how to approach the issue.
Any help would be appreciated.


Nov 19 '05 #3
use your tabs to group the fields under connected sets, like surrounding
sections within a box on a form in traditional programming, and show them as
the user selects a new tab. Its not the loading of the 50 fields thats
essentially problematic, its more likely the user interaction problems of
reading that many fields on screen at once may be..........or if it is
problematic, use the tabs to load different forms like walking through a
wizard of sorts.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Geoff C Melbourne" <Ge*************@discussions.microsoft.com> wrote in
message news:6D**********************************@microsof t.com...
John

Thanks for taking the time to respond. I really appreciate it.
But I'm so unsure with asp.net that I don't understand what you meant.

1. I assume that by saying to use tab controls and hide and show ... that
you mean:
* All the 50 fields plus associated validation controls etcetera are on
the
one form
* That I hide and show them as necessary
* That I have to move their location on the web form programatically when
a
tab is clicked
(Since otherwise I'd have to overlay them on top of each other in design
view if I wanted them neatly displayed when the form is run)

2. Or is it a case of clicking on a tab leads to a separate page?
In which case I'm back to my issue of how I keep the class with it's 50
fields available to multiple pages. I assume I wouldn't/couldn't use a
session variable for something so large.

3. I'm sorry, but I don't understand what you mean by 'simple divs'

Thanks again

Geoff
"John Timney (ASP.NET MVP)" wrote:
Use Tab Controls, or use simple divs, and hide and show them as the user
moves through the form using javascript. Technically, thats all a tab
control would do anyway behind the scenes.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Geoff C Melbourne" <Geoff C Me*******@discussions.microsoft.com> wrote
in
message news:91**********************************@microsof t.com...
> I'm new to asp.net.
>
> I have an ASP.Net form that contains literally 50 fields for the user
> to
> enter for a contacts details.
>
> All these fields are stored in the one table.
> So I have a class that I load the values into and out of.
> All that is fine.
>
> The issue is that the form is very long vertically by the time I've
> added
> calendar controls and field validators etc.
> So the user has to do a lot of scrolling to work their way through a
> form.
>
> What's the best way to handle lots of fields on the form please?
> Should I use tabs or something like that?
> Does tabs or such mean having multiple pages?
> How could I keep the details in the Contacts class across multiple
> pages?
>
> As you can see, I'm just not sure how to approach the issue.
> Any help would be appreciated.


Nov 19 '05 #4

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

Similar topics

0
by: Grant Edwards | last post by:
I'm looking for a surface fitting library for Python. Something like the least-squares module in scientific python, except I want to fit a surface (z = f(x,y)) instead of a curve (y = f(x)). ...
13
by: TinyTim | last post by:
I'm a newbie at ASP & HTML. It seems that when you use server side code and you're going to return a customized HTML form with several fields and labels, you have to do an extensive amount of...
5
by: Vinodh Kumar | last post by:
Number One: ========= I know its a 100% offline post.But seeing the diversity of the domain from which people are participating, I would like to post this question here.Pardon me.At the least, u...
2
by: Darryl Kerkeslager | last post by:
As the subject above hopefully makes clear, I want to do several reports, "with lots of fields not otherwise in database". These reports also have variable-length text. I have defined the...
12
by: Tom | last post by:
Hi everyone, I don't know if anyone can help me, I've got roughly 25 forms in a site, with between 10 and 70 fields on each form. Now, these fields need to be inserted into a DB, each form...
7
by: greywire | last post by:
So I need to load lots of data into my database. So I discover LOAD DATA INFILE. Great! This little gem loads my CSV in blazing times (compared to parsing the file and doing INSERT for each...
1
by: saudepp | last post by:
Hi php pros, I have an array containing n numbers and want to fit them to e.g. a polynomial function f(x), x=1...n. Is there a php script / library for doing that? I basically wish to do...
1
by: gamernaveen | last post by:
Hi guys , please help me with this bug. the site (tell me other bugs if you find) http://web.acen.mobi/eoa/, there the iframe (the form content is the iframe) is not fitting with the layout , u...
4
by: Evelien | last post by:
Dear python-users, I am trying to do a non-linear least squares fitting. Maybe trying is not the best word, as I already succeeded in that. At the moment I am using leastSquaresFit from...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.