473,321 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

ASP:DATALIST

Hello,

Does anyone know of a way to prevent the asp:datalist control from creating
html code table and table row tags when it is rendered. I have normally
just incorporated this into the layout of my html code, however, I am now
working on a project with several layers deep of html table nesting and it
would be like piecing together a jigsaw puzzle to figure out where I should
place the datalist control in order for my html to display properly? I am
afraid the answer is that this cannot be changed?

Any other databinding solutions that will allow me to get around without
modifying my html layout?

This is an example of where MS attempts to make it easier for developers by
creating a server control, but in turn developers lose some control of the
layout. Perhaps skipping through the dataset like an old recordset in
classic asp would be a less intrusive solution for me??

Thanks
Nov 17 '05 #1
1 1751
Chris,

You could use the Asp:Repeater tag and highly customize our your data out
put.

Rahul Singh

anant systems, inc. | making information work for you

anantsystems.net | ioserver.net [Developer and Business .NET Hosting]

"Chris Fink" <ch***@chrisfink.com> wrote in message
news:uz**************@tk2msftngp13.phx.gbl...
Hello,

Does anyone know of a way to prevent the asp:datalist control from creating html code table and table row tags when it is rendered. I have normally
just incorporated this into the layout of my html code, however, I am now
working on a project with several layers deep of html table nesting and it
would be like piecing together a jigsaw puzzle to figure out where I should place the datalist control in order for my html to display properly? I am
afraid the answer is that this cannot be changed?

Any other databinding solutions that will allow me to get around without
modifying my html layout?

This is an example of where MS attempts to make it easier for developers by creating a server control, but in turn developers lose some control of the
layout. Perhaps skipping through the dataset like an old recordset in
classic asp would be a less intrusive solution for me??

Thanks

Nov 17 '05 #2

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

Similar topics

1
by: Chris Fink | last post by:
Hello, I have an ASP Datalist in which I am binding a value within the <itemtemplate> section as follows: <%# DataBinder.Eval(Container.DataItem, "week")%> This displays the week value as...
3
by: Harry | last post by:
Hi, Can anyone tell me why the below code does not work. I dont get any errors, but nor does the Text for the asp:label get set. Thanks in advance as always H
4
by: V. Jenks | last post by:
What seems like a simple thing is apparently not so straightforward? I have a datalist. Inside of that datalist is an <itemtemplate> secion which contains other server controls such as a...
1
by: mahsa | last post by:
H data I'm binding to the DataList is information about products in my product database. Perhaps passed in the QueryString to this page is a ProductID. I might want to make the item in the DataList...
10
by: Bharat | last post by:
Hi Folks, Suppose I have two link button on a page (say lnkBtn1 and lnkBtn2). On the click event of the lnkbtn1 I have to add a dynamically created control. And On the click event of the lnkBtn2 I...
2
by: Hans Merkl | last post by:
Hi, I am trying to use a user control as EditItemTemplate in a DataList. It loads fine but I can't figure out how to bind to the data of the DataList. Here is what I have got so far: ...
3
by: Mirek Endys | last post by:
I have DataList as part of DataList item. DataList in DataList. The parent DataList working well including Edit command, that shows Edit template and correctly bind the data into edit template...
2
by: R.A.M. | last post by:
Hello, I need your help in a problem of putting and accessing asp control in FooterTemplate of asp:DataList. I created a DataList: <asp:DataList ID="BooksList" runat="server"...
3
by: Crazy Cat | last post by:
Hi all, I am developing an asp.net 2.0 application in Visual Studio 2005. On my page I have a simple datalist that is bound programmatically to a collection of simple objects. On this page I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.