Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 21st, 2007, 11:08 PM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 238
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via MSN to rsearing
Default Aligning Header & Item DataList Templates

Within a Datalist, how can I align the Header and Item templates and simply make it appear to be lined like a gridview. In fact, I would have simply used a GridView had it not been for me needing to personalize some function binding via using a Label's text property.

Is there a simpleway to align the templates into distince columns?

Thanks,
Rob

 
Old October 5th, 2007, 01:54 AM
Registered User
 
Join Date: Aug 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm also facing the same problem as explained by Rob but for datalist.
Does anybone know how to align datalist header templet and item template ?
 
Old October 5th, 2007, 06:09 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

Have you tried to present your data inside <table><tr><td> format, I mean take table tr inside your datalist which will help you to set a specified format..

Regards
Mike





Similar Threads
Thread Thread Starter Forum Replies Last Post
Item Templates hbansal ASP.NET 1.0 and 1.1 Professional 6 August 2nd, 2007 06:24 AM
Functions in Item Templates wirerider ASP.NET 2.0 Basics 8 March 9th, 2006 12:09 AM
XHTML & middle aligning web page madhukp HTML Code Clinic 3 December 2nd, 2005 02:13 AM
add conditional DataList item jtyson ASP.NET 1.0 and 1.1 Basics 1 July 1st, 2003 01:10 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.