Text too long in column checkboxes read-only

4 posts, 0 answers
  1. Kris
    Kris avatar
    17 posts
    Member since:
    Dec 2006

    Posted 19 Oct 2010 Link to this post

    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
  2. Kris
    Kris avatar
    17 posts
    Member since:
    Dec 2006

    Posted 21 Oct 2010 Link to this post

    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? 

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 21 Oct 2010 Link to this post

    Hello Kris,

    For the checkboxes, why don't you just disable them?
  5. Kris
    Kris avatar
    17 posts
    Member since:
    Dec 2006

    Posted 22 Oct 2010 Link to this post

    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!
Back to Top