This is a migrated thread and some comments may be shown as answers.

Text too long in column checkboxes read-only

3 Answers 28 Views
This is a migrated thread and some comments may be shown as answers.
Kris
Top achievements
Rank 2
Kris asked on 19 Oct 2010, 02:14 PM
Hello,

I have 2 problems:

1) If you see in the image001.png, the text in column 2 is too long and comes on the second line.  Is there a possibility to cut of the text?  something like ...

2) The user can change the values of  chekboxes. (see image002.png).  Is it possible to make it read-only?

Can somebody help me out of this?

Kind Regards,
Kris

3 Answers, 1 is accepted

Sort by
0
Kris
Top achievements
Rank 2
answered on 21 Oct 2010, 12:04 PM
Tot trim the text in dropdown in the combobox, that one is ok.
I have put the following in CSS:

   white-space:nowrap;

   text-overflow:ellipsis; /* for internet explorer */

   overflow:hidden;

   width:190px;

   display:block;
Found that snippet somewhere here.

But the checkboxes, any suggestions? A picture other layout? 

0
Cori
Top achievements
Rank 2
answered on 21 Oct 2010, 01:16 PM
Hello Kris,

For the checkboxes, why don't you just disable them?
0
Kris
Top achievements
Rank 2
answered on 22 Oct 2010, 09:02 AM
It didn't work quite well with HTML control.  I changed finally with the default ASP Control and disabled it.  Now it works properly.

Thanks!
Asked by
Kris
Top achievements
Rank 2
Answers by
Kris
Top achievements
Rank 2
Cori
Top achievements
Rank 2
Share this question
or