Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_beginners thread: page composition


Message #1 by "jose manuel" <mvera@i...> on Tue, 19 Nov 2002 10:28:27
Hello to all:

I meet a displaying problem when developing an ASP NET who calls itself 
several times.

What I do to give the sensation of advancing is to modify the 'visible' 
attribute of several controls 'panel' that lodge the different textbox and 
buttons of the application and that are chained some behind others.

The problem is that the panels are displayed one behind other one, every 
form appears down below the precceeding though there is visualized only 
one (the one that has the visible attribute in this moment settled to 
TRUE).

In order that they all appear in the same relative position (top left) I 
have to place all the panels over and imagine it at the moment of editing 
in design mode.

Someone knows the solution to the problem?
Message #2 by "Rod McLeay" <r.mcleay@c...> on Wed, 20 Nov 2002 08:53:50 +0800
Jose,
I have not done this in .NET yet but have used this technique a lot in 
asp so I hope this is relevant!

It is important to set two style attributes: Visibility and Display.

When visible:
	Visibility =3D "visible"
	Display =3D ""
When not visible:
	Visibility =3D "hidden"
	Display =3D "none"

Is the Display attribute is not set to "none" the panels (I use <div> 
tags) will be invisible but still take up space in your display.

Again this is for asp not aspx, good luck

Rod
-----Original Message-----
From: jose manuel [mailto:mvera@i...]
Sent: Tuesday, 19 November 2002 6:28 PM
To: aspx_beginners
Subject: [aspx_beginners] page composition

Hello to all:

I meet a displaying problem when developing an ASP NET who calls itself
several times.

What I do to give the sensation of advancing is to modify the 'visible'
attribute of several controls 'panel' that lodge the different textbox 
and
buttons of the application and that are chained some behind others.

The problem is that the panels are displayed one behind other one, every 

form appears down below the precceeding though there is visualized only
one (the one that has the visible attribute in this moment settled to
TRUE).

In order that they all appear in the same relative position (top left) I 

have to place all the panels over and imagine it at the moment of 
editing
in design mode.

Someone knows the solution to the problem?

  Return to Index