473,468 Members | 1,475 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Datalist w/ scroll

I thought I had this with the following but It did not work. Is there
any way to cause the datalist to scroll or is that an impossibility.
Or does one of the other controls have capacity?

<asp:Panel id="Panel2" runat="server">
<DIV id="Layer1" style="OVERFLOW: auto">
<asp:DataList id="dlImages" Width="80px" runat="server"
RepeatColumns="3" DataKeyField="tid">
<ItemTemplate>
<asp:ImageButton id=ImageButton1 runat="server" ImageUrl='<%#
DataBinder.Eval(Container.DataItem, "iPath")%>' CommandName="select">
</asp:ImageButton>
</ItemTemplate>
</asp:DataList>
<asp:label id="details" Width="88px" runat="server" Font-Size="10px"
Font-Names="Tahoma" Visible="False"></asp:label>
</DIV>
</asp:Panel>

Dec 22 '05 #1
2 4338
You don't have any setting for the height. Set it somewhere.

Eliyahu

"nathan001" <na****@thelosthorizon.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
I thought I had this with the following but It did not work. Is there
any way to cause the datalist to scroll or is that an impossibility.
Or does one of the other controls have capacity?

<asp:Panel id="Panel2" runat="server">
<DIV id="Layer1" style="OVERFLOW: auto">
<asp:DataList id="dlImages" Width="80px" runat="server"
RepeatColumns="3" DataKeyField="tid">
<ItemTemplate>
<asp:ImageButton id=ImageButton1 runat="server" ImageUrl='<%#
DataBinder.Eval(Container.DataItem, "iPath")%>' CommandName="select">
</asp:ImageButton>
</ItemTemplate>
</asp:DataList>
<asp:label id="details" Width="88px" runat="server" Font-Size="10px"
Font-Names="Tahoma" Visible="False"></asp:label>
</DIV>
</asp:Panel>

Dec 22 '05 #2
Thanks

Dec 23 '05 #3

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

Similar topics

6
by: Gav | last post by:
Hi All, I have created a datalist using the repeatcolumns property to create multiple columns. I have tried to keep everythings width to 100% so that if the window is resized it still looks...
5
by: Rick Spiewak | last post by:
I'm using a DataList inside a Grid Layout Panel (which ends up being a <DIV>) so that I can use the overflow:scroll property. This is working fine, except for one anomaly: If there aren't enough...
3
by: Alan Silver | last post by:
Hello, I have a datalist which I am using to view and modify some data. When the user clicks the "edit" link, the appropriate cell is moved into edit mode, as specified in the EditTemplate. ...
0
by: perspolis | last post by:
Hi al I have a Datalist with RepeatColumns=3 it works well but when I changed size of the window the DataList dosen't scroll and I can't see rest of information..The Windows itself scrolls but...
0
by: rodchar | last post by:
hey all, i have a datalist in a limited section of space on my web form. what options do i have if the datalist outgrows that space? i like how the visual studio designers tabs work when there are...
3
by: mayankaswal | last post by:
I am using a DataList and I have used a PlaceHolder to generate the Headers and Items. The problem is when the items list is big and I scroll down, the header also moves. I am trying the header to be...
0
by: mayankaswal | last post by:
I am using a DataList and I have used a PlaceHolder to generate the Headers and Items. The problem is when the items list is big and I scroll down, the header also moves. I am trying the header to be...
0
by: Peter | last post by:
I have a datalist and I want the datalist to grow from no recors to fill the screen, but not go beyond the screen height. How do I do that? I've implemented the scroll bars but that's for the...
3
by: Peter | last post by:
I have a datalist and I want the datalist to grow from no records to fill the screen, but not go beyond the screen height. How do I do that? I've implemented the scroll bars but it works only for...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.