GridView and Table cell overflow and wrap issues

G

GregG

Greetings,

I have been fighting with the new GridView control, and while figuring
out most of it's idiosyncrasies on my own, have stumbled upon a
problem I cannot seem to resolve.

We have table displayed in a GV control.
It allows for editing and selecting, etc.
Some of the fields are 60 characters long, but only the first 20 or so
are relevant, and all of them have to fit on one line within the row -
with the overflow being hidden and not wrapped.

So...
What we need is to be able to clip the overflow of a predefined width
that is assigned for each column. When editing, we can limit the
textbox length easily. But the remaining rows which are labels do not
hide the overflow. Finally got it to work with CSS in IE, but Mozilla
Firefox still refuses to clip the content, and stretches the table off
the screen.

ARRGGH....
I've stared at CSS and ASP.net code till my eyes are bleeding.
The inconsistent behavior of <TABLE> elements between different
browsers is driving me nuts. Probably why I use <DIV> instead...
We could have written a 'control' in cASP in this amount of time...

Any thoughts?
Thanks,


Greg G.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top