473,324 Members | 2,254 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,324 software developers and data experts.

Hiding data in ASP

Hi All

I have situation and have not been able to work out the solution wonder if
someone can suggest a solution.

I have an asp form which displays holidays for an employee for various
years.

For example the code in a loop will write out the following with the data

Holidays 2004
Date from Date to Days

Holidays 2003
Date from Date to Days

Holidays 2002
Date from Date to Days
and so on.

What I want to do is to display only the current year holidays and collaspe
the rest of them so they can expand if they want to see it and also maintain
some king of session state for what they select.

Hence what I want the page to display is

Holidays 2004 ( this being the current year should be displayed in full by
default
Date from Date to Days

View 2003 Holidays (Hyperlinked One click to display and second click to
hide)
View 2002 Holidays (Hyperlinked One click to display and second click to
hide)

I am using a loop to write the data above.

Any suggested solutions.

Thanks


Jul 19 '05 #1
2 1169
This is a client side issue, try asking at a Javascript newsgroup

"J P Singh" <noemail@asIhatespam> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi All

I have situation and have not been able to work out the solution wonder if
someone can suggest a solution.

I have an asp form which displays holidays for an employee for various
years.

For example the code in a loop will write out the following with the data

Holidays 2004
Date from Date to Days

Holidays 2003
Date from Date to Days

Holidays 2002
Date from Date to Days
and so on.

What I want to do is to display only the current year holidays and collaspe the rest of them so they can expand if they want to see it and also maintain some king of session state for what they select.

Hence what I want the page to display is

Holidays 2004 ( this being the current year should be displayed in full by
default
Date from Date to Days

View 2003 Holidays (Hyperlinked One click to display and second click to
hide)
View 2002 Holidays (Hyperlinked One click to display and second click to
hide)

I am using a loop to write the data above.

Any suggested solutions.

Thanks

Jul 19 '05 #2
On Tue, 10 Feb 2004 12:13:01 -0000, "J P Singh" <noemail@asIhatespam>
wrote:
Hi All

I have situation and have not been able to work out the solution wonder if
someone can suggest a solution.

I have an asp form which displays holidays for an employee for various
years.

For example the code in a loop will write out the following with the data

Holidays 2004
Date from Date to Days

Holidays 2003
Date from Date to Days

Holidays 2002
Date from Date to Days
and so on.

What I want to do is to display only the current year holidays and collaspe
the rest of them so they can expand if they want to see it and also maintain
some king of session state for what they select.
This is best handled client side, possibly with DHTML layers. Check a
client side group for pointers on how to do this.

Jeff
Hence what I want the page to display is

Holidays 2004 ( this being the current year should be displayed in full by
default
Date from Date to Days

View 2003 Holidays (Hyperlinked One click to display and second click to
hide)
View 2002 Holidays (Hyperlinked One click to display and second click to
hide)

I am using a loop to write the data above.

Any suggested solutions.

Thanks


Jul 19 '05 #3

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

Similar topics

8
by: F. Da Costa | last post by:
Following is a snippet of html in which I hide a whole table and try to hide a single row. Here is my question (plz don't chew my head off if its css related instead): Why does the divTable...
11
by: Lorenzo Villari | last post by:
I premise I don't know C++ well but... I wondered what is this data hiding thing... I mean, if I can look at the header (and i need it beacuse of the class), then what's hidden? Can someone give...
2
by: coolwarrior | last post by:
Hi, 1_I want to know the difference between "data hiding" , "steganography" ,"watermarking" ,"capsulation" related to DSP. 2_There r plenty of informaion about data hiding for images on the web...
1
by: Amber | last post by:
The DataGrid allows you to make columns visible or invisible on demand - even edit and other special columns. This article will show you how it is done. Some developers have reported problems...
11
by: sofeng | last post by:
I'm not sure if "data hiding" is the correct term, but I'm trying to emulate this object-oriented technique. I know C++ probably provides much more than my example, but I'd just like some feedback...
4
dmjpro
by: dmjpro | last post by:
Look at my code carefully..... class Super { protected int a; } class Derived extends Super { protected int a; //Here Data Overriding or Data Hiding
2
by: subramanian100in | last post by:
Is my following understanding correct ? Data abstraction means providing the interface - that is, the set of functions that can be called by the user of a class. Information hiding means...
162
by: Sh4wn | last post by:
Hi, first, python is one of my fav languages, and i'll definitely keep developing with it. But, there's 1 one thing what I -really- miss: data hiding. I know member vars are private when you...
27
by: matt | last post by:
Hello group, I'm trying to become familiar with the information hiding design rules, and I have a lot (3) of questions for all you experts. AFAIK, a generic module has 2 files: ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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: 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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.