Datalist Display problem

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.
 
N

Natty Gur

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top