Hiding Controls

  • Thread starter Thread starter JPabich
  • Start date Start date
J

JPabich

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?
 
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

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

j> I understand how to use the visible parameter of the control, what I
j> am looking for is if I have a grid and then below that another grid,
j> if I hide the top grid, how to display the bottom grid so there isn't
j> a large void at the top of the screen.
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

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