DataGrid widths not working with large data

T

tshad

I have a problem where I am trying to display URLs in a column that is 100px
long:

<asp:BoundColumn DataField="CurrentURL" HeaderText="CurrentURL"
HeaderStyle-Width="100px" ItemStyle-Width="100px" runat="server"/>

The problem is that the column gets pushed out to about 200-300 based on
where it breaks the URL.

http://www.staff.com/applicant/EELo...licant/secure/skillstest.aspx?AID=304&AID=304

This will break only at the "?".

If the URL or its parameters are really long:

http://www.staffing.com/applicant/v...|3007|3972|3973|3974|3975|3976|3977|3978|7306

It will break this like:

http://www.staffing.com/applicant/viewPositionsNS.aspx?
JobCats=551|557|2947|2963|2990|3007|3972|3973|3974|3975|3976|3977|3978|7306

And the size of the column will be the size of the largest piece of data
(not the size of the width statement).

Is there a way around this?

I need all the information to show.

Thanks,

Tom
 

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

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,225
Latest member
Top Crypto Podcasts

Latest Threads

Top