473,804 Members | 3,273 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DataList and SeparatorTempla te

Hello,

I have a quick question:
How to specify the height of the SeparatorTempla te (that is rendered as <td>
tag) in DataList?

Thanks,

Leszek Taratuta
Nov 18 '05 #1
2 1764
Don't know about that, but just put everything in the template into a DIV or
something, and set the height of that.

"Leszek Taratuta" <ad*@taratuta.n et> wrote in message
news:OG******** ******@TK2MSFTN GP09.phx.gbl...
Hello,

I have a quick question:
How to specify the height of the SeparatorTempla te (that is rendered as <td> tag) in DataList?

Thanks,

Leszek Taratuta

Nov 18 '05 #2
Thanks, it works fine. Although I need a more flexible solution. The number
of items in the DataList may change. I found a temporary solution and set up
cellSpacing for the entire DataList. It gives me some separator between
DataList cells.

Any other suggestions?

Thanks,
Leszek

"Marina" <so*****@nospam .com> wrote in message
news:Os******** ******@tk2msftn gp13.phx.gbl...
Don't know about that, but just put everything in the template into a DIV or something, and set the height of that.

"Leszek Taratuta" <ad*@taratuta.n et> wrote in message
news:OG******** ******@TK2MSFTN GP09.phx.gbl...
Hello,

I have a quick question:
How to specify the height of the SeparatorTempla te (that is rendered as

<td>
tag) in DataList?

Thanks,

Leszek Taratuta


Nov 18 '05 #3

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

Similar topics

1
5672
by: Carl Howarth | last post by:
Hi, I have a check box list within a datalist. Can anybody tell me how I go about accessing the onclick event of these checkbox lists? (using vb.net) Many thanks, Carl Howarth carl.howarth@m-s-solutions.co.uk
2
1278
by: Leszek Taratuta | last post by:
Hello, I have a quick question: How to specify the height of the SeparatorTemplate (that is rendered as <td> tag) in DataList? Thanks, Leszek Taratuta
1
1159
by: student | last post by:
Hello all and thanks for all of the help. I am currently learning how to display data in a dataList. The problem here is that the data from the database is not being displayed completely. Only the first row of data is displayed and repeated on every row afterwards. Here's the code, please help, and thanks immensely student <%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="DataList2.WebForm1"%>...
0
2896
by: massimop | last post by:
Hi to all, I use a datalist, that should return a table with 3 columns. The cell of the first column is used to show an image . The cell of the second colun is used to show a * (separator) . The cell of the third column is used to show an image . Here the code: < asp:DataList id="DataList1" runat="server" RepeatColumns="2"
6
2193
by: tshad | last post by:
I need to get to a status label I have on my footer section of my datalist. There is no event happening that would go to the footer. I am just doing some processing and want to update the label on the footer. At the moment, I go through the dataListItems like so: for each oItem as DataListItem in DataList1.Items trace.warn("inside for loop oItem type = " & oItem.itemType.ToString())
8
5895
by: bienwell | last post by:
Hi, I have a problem of displaying data bound by a datalist control. In my table, I have a field Start_date which has Short Date data type. I tried to update this field by Current Date. After that, I display End_Date on the DataList control. The output looks like 3/18/2005 12:00:00 AM . I'd like to format data for this field to be 3/18/2005. Please help me. Thanks in advance....
0
1095
by: Pugi! | last post by:
I am studying the book ASP.NET Data Web Controls. Very interesting, and I try to put everything in runtime (VB.NET) code instead of in the page. I got very far but now I am stuck. I found examples of how to create a TemplateColumn in a DataGrid with a hyperlink with two parameters at runtime (http://www.c-sharpcorner.com/Code/2003/June/AddItemTemplateDynamically.asp). But now I want to create a templatecolumn in a datalist with some...
1
2171
by: L-E Eriksson | last post by:
Hello! I have a web form with a datalist control. The datalist shows articles from a db. The page looks nice in IE6 and FF, but in IE7 the line breaks are messed up, so for each article in the datalist, only the first line is visible. This is the code in short: <form id="form1" runat="server"> <asp:DataList ID="DataList1" runat="server" Width="612px"
0
1257
by: =?Utf-8?B?Vmlua2k=?= | last post by:
Hello Everyone, I am having this problem. I have this datalist and whenever I expand the datalist by the plus button, it overlaps other controls on my web page and sometimes these controls come over the dataList. Bleow is the code <table width="100%"> <tr> <td>
0
10583
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10082
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9160
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7622
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5525
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5654
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4301
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 we have to send another system
2
3822
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2995
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.