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

Hiding Controls

I am new at the html side, but I what I have is a serious of DataViews
on my screen. When you click a link, it needs to show the appropriate
dataView and hide all the others. How do I hide these and make the
appropriate one display at the top of the screen rather than where it
actually is positioned on the design view?

Jun 18 '07 #1
4 1162
visibility is applied as true or false

http://msconline.maconstate.edu/tuto...pnet04-02.aspx
"JPabich" <jp*****@eisincorporated.comwrote in message news:11**********************@u2g2000hsc.googlegro ups.com...
>I am new at the html side, but I what I have is a serious of DataViews
on my screen. When you click a link, it needs to show the appropriate
dataView and hide all the others. How do I hide these and make the
appropriate one display at the top of the screen rather than where it
actually is positioned on the design view?

Jun 18 '07 #2
Hello jpabich,

Server side solution: control.Visible = false
Client side solution document.getElementById(). visibility: hidden / display:
none
---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

jI am new at the html side, but I what I have is a serious of
jDataViews on my screen. When you click a link, it needs to show the
jappropriate dataView and hide all the others. How do I hide these
jand make the appropriate one display at the top of the screen rather
jthan where it actually is positioned on the design view?
j>
Jun 18 '07 #3
I understand how to use the visible parameter of the control, what I
am looking for is if I have a grid and then below that another grid,
if I hide the top grid, how to display the bottom grid so there isn't
a large void at the top of the screen.
On Jun 18, 2:12 pm, Michael Nemtsev <nemt...@msn.comwrote:
Hello jpabich,

Server side solution: control.Visible = false
Client side solution document.getElementById(). visibility: hidden / display:
none

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog:http://spaces.live.com/laflour
Team blog:http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

jI am new at the html side, but I what I have is a serious of
jDataViews on my screen. When you click a link, it needs to show the
jappropriate dataView and hide all the others. How do I hide these
jand make the appropriate one display at the top of the screen rather
jthan where it actually is positioned on the design view?
j>

Jun 18 '07 #4
Hello jpabich,

use document.getElementById().display:none
which won't reserve the emply space

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

jI understand how to use the visible parameter of the control, what I
jam looking for is if I have a grid and then below that another grid,
jif I hide the top grid, how to display the bottom grid so there isn't
ja large void at the top of the screen.
j>
jOn Jun 18, 2:12 pm, Michael Nemtsev <nemt...@msn.comwrote:
j>
>Hello jpabich,

Server side solution: control.Visible = false
Client side solution document.getElementById(). visibility: hidden
/ display:
none
---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog:http://spaces.live.com/laflour
Team blog:http://devkids.blogspot.com/
"The greatest danger for most of us is not that our aim is too high
and we miss it, but that it is too low and we reach it" (c)
Michelangelo

jI am new at the html side, but I what I have is a serious of
jDataViews on my screen. When you click a link, it needs to show
the
jappropriate dataView and hide all the others. How do I hide these
jand make the appropriate one display at the top of the screen
rather
jthan where it actually is positioned on the design view?
j>

Jun 18 '07 #5

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

Similar topics

4
by: StressPuppy | last post by:
(posted this in VB group but then realized I probably should have posted here) I have a TabControl with several TabPages. Upon startup, I only want to show the first TabPage, hiding the rest....
5
by: Ben | last post by:
I have a form for data entry which is in a table. I have a select box to enter a customer name, which takes it's options from the customer database. I have a button to add a new customer. What I...
17
by: Bob Weiner | last post by:
What is the purpose of hiding intead of overriding a method? I have googled the question but haven't found anything that makes any sense of it. In the code below, the only difference is that...
3
by: MDB | last post by:
This may sound like a naive question, but that's only because I'm naive about most things ASP.NET, as my background is primarily Lotus Notes Development, and before that, DOS-based FoxPro. Is...
22
by: Mr Newbie | last post by:
I was thinking about developing a workflow application yesterday and was musing over the different approaches than one could take in restricting specific actions on a ticket( Form ) at any said...
9
by: bob | last post by:
Hi, I know there exists a good reason why the designers of c++ decided that function hiding should exist. But I don't know why. Can anybody provide a good reason/example of a case where function...
14
by: Dom | last post by:
Hi all I'm developing a control, and I need to hide some properties to the user. For example, suppose I need Text property to be completely inacessible (from a Form/Code that is into another...
11
by: Alex | last post by:
Hello all, I have a main form(say "form1") .i want to display another form(say "form2") on occuring of an event (say a button click) and want to hide it after some time so that it will again...
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...
2
Frinavale
by: Frinavale | last post by:
This question may seem a bit newbie-ish but I'm new to desktop applications...please bear with me. I have a function that populates a ComboBox with a bunch of names. To populate it I have to make...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.