Datalist Display problem

  • Thread starter Thread starter Roberto López
  • Start date Start date
R

Roberto López

Hello all,
I have a page that in the top display a tree with Folders and Images into
the folders.
When the user click in a image, in the botton of the page i load the Image
properties into a DIV tag setting the "Visible" property to "True" and works
fine.
But when the user clicks in a folder, on the botton i have an asp:datalist
control into other DIV container that displays all of the images of the
folder. The div is running at server with "visible=false" and when clicks a
folder I set it to "True" (and set to false the other div that represents
only one image).
The problem is: sometimes when the folder contains a lot of images it
appears much more down on the page, and between the tree and the images
there is a big blank space. What I am doing wrong? I have tried to use
<asp:panel> container but with the same result.

Thanks.
 
Hi,

consider to set the DISPLAY style to none/block.

Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
 
Back
Top