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

You are currently viewing the ASP.NET 3.5 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 June 7th, 2008, 04:28 PM
Authorized User
 
Join Date: Apr 2008
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to AspNetGuy
Default DetailsView and Column Widths

I have a DetailsView using validators. The validators are in the same <InsertItemTemplate> field as the TextBox they validate.

There is CSS to control the text alignment and the positioning. I see the DetailsView table that is being emitted by viewing source and all of my CSS classes are associated with the things they should be.

The problem is that the TextBoxes are not positioning in the column to the far left. Then when the validator displays its message all of the TextBoxes are repositioned to the left (like I wanted them in the first place), but this repositioning is BAD, because it is obvious flashing to the user's eyes.

How do I cause the right column of TextBoxes to position to the left?

I have float:left on everything.

Thanks.

 
Old June 7th, 2008, 04:34 PM
Authorized User
 
Join Date: Apr 2008
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to AspNetGuy
Default

Ok, I figured it out. I posted the above question 5 minutes early. In other words I figured it out 5 minutes after posting.

My problem was that the Display=DYNAMIC choice was casuing the positiong to change.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate Character Widths echovue Access 7 February 13th, 2010 10:55 AM
detailsview not updating table when null column davej ASP.NET 2.0 Professional 3 April 11th, 2007 06:59 AM
margin:auto, IE vs. Images + widths, vert. placmnt mishagos BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 5 July 16th, 2006 05:32 PM
Compare two Items of data(in column A and column B ever Excel VBA 6 February 13th, 2004 02:19 PM





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