473,656 Members | 2,777 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Nested datalists and width property of TD

I have two nested datalists and I am using percentage to make the width
of the row:
So my header of the parent datalist looks like this...

<table><tr>
<td width = 5%> <td width = 12%>
<td width = 16%>
<td width = 16%>
<td width = 12%>
<td width = 5%>
<td width = 5%>
<td width = 9%>
<td width = 20%>
</tr></table>

then
I have header template:
and first column belongs to parent datalist and have width = 5% and
second column belong to childdatalist and have width = 95%. Now in my
child I was trying to match width of the columns by calculating:
2nd column width = (12/0.95)% = aprrox. 12.6%
etc...

Somehow headers and items cells don't match. Does anybod has an idea how
can I achieve that my headers and items borders match?

Regards
Arek

*** Sent via Developersdex http://www.developersdex.com ***
Jan 5 '06 #1
0 1643

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

Similar topics

9
4070
by: Dustin | last post by:
Here's what I am trying to do: (Names represent CSS classes.) I want to create a photo gallery. I want the entire gallery to be surrounded by a box named PhotoGallery. I want a fluid placement of the individual Items within PhotoGallery. An Item is a box that has two child boxes, PhotoBox and Caption. Photobox has an explicit width and height. PhotoBox contains an image whose dimensions may vary, but are constrained to be within...
2
2163
by: Greg Fischer | last post by:
I need to access the properties of a control that is nested in 2 datalists. How do you use findcontrol method to do that? what I have is like this: <asp:datalist id="dlist" runat="server"> <edititemtemplate> <asp:datalist id="dlistdet" runat="server"> <asp:dropdownlist id="ddlTypes" runat="server"></dropdownlist> </asp:datalist>
0
1210
by: Marty U. | last post by:
I have two datalists nested. On the ItemDataBound Event of the first datalist I databind the second with specific info. A couple questions: 1) How can I utilize the OnItemCommand of the nested datalist(inner) to retrieve the DataKey value when a user clicks a link button? 2) Is there anything I should be concerned with about ViewState? This is a reporting tool and no input is accepted. I have found a couple examples but none pointing...
5
1342
by: Sparky Arbuckle | last post by:
The application I'm creating consists of a DataGrid with 3 (at this point in time) DataLists nested inside of it. One of the columns is for the the latest version of the product and the other is for revisions to that produce version. So the database table would look something like this for any given item with revisions: ItemNumber - Revision A - 1 A - 2
0
354
by: schapopa | last post by:
I have two nested datalists and I am using percentage to make the width of the row: So my header of the parent datalist looks like this... <table><tr> <td width = 5%> <td width = 12%> <td width = 16%> <td width = 16%> <td width = 12%> <td width = 5%>
1
1974
by: TheHach | last post by:
Hi. (For information, i'm working in VB.NET) In our company, we have material that is divided into 3 parts : - a system - a batch - an article In each system are different batches, and in each batch different
2
3428
by: scottls | last post by:
Hi All, Thanks for reading my post. I have been working on getting nested datalists working properly wihtin my framework for many days and I think I'm almost there. See if you could help me get over the hump here. Some of our products come in different sizes - i.e. what I call "units". Some products don't. I successfully created the first datalist (called productList) to show our products with their general
2
2063
by: jobs | last post by:
I have two Nested repeating Datalists with different data sources. Currently the second Datalist is set to visible=false I have an oncommand button on the first, that when selected I would like to make it's sub datalist visible. I'm a bit confused about how to refrence the instance of the second datalist.
2
2384
by: Ole V.-M. | last post by:
Greetings, i have a UserControl, that contains a DataList. That DataList contains as items other DataLists. example: DataList A Row 1 Nested DataList 1 Row 1
0
1092
by: vivajay | last post by:
I'm trying to do a parent/child relationship in nested datalists I have created. I do not want to repeat the contract number for each asset that falls within that contract number when I display each one on the web page. The fields are all coming from the same table from the same stored proc. Also, I cannot do two separate stored procs for the parent and child tables. I tried to do a relation on the same table and it throws an error 'ParentKey...
0
8816
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
8717
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8498
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6162
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
5629
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4150
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
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
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
1600
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.