Grid textboxes overlay scrollbars

3 posts, 0 answers
  1. neebs
    neebs avatar
    106 posts
    Member since:
    Apr 2007

    Posted 25 Oct 2010 Link to this post


    I'm using the technique defined here:

    To create cells in a radGridView that contain a checkbox and a textbox. This is working reasonably well, although I have a few issues to work out. One undesirable result is that the textboxes in the cells always overlay the scrollbars of the grid. See the attached image. Interestingly, the checkboxes do not behave this way. Is there a way to eliminate this undesired behavior?

    Thanks, Steve
  2. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 25 Oct 2010 Link to this post

    Hello Neebs,

    I would suggest avoiding this approach.
    In my point of view TextBoxes should be visible only when cell is editing, you should just use a checkbox element in your cell.
    In edit mode you can just add the text box element to the cell as suggested by this KB Article.

    Hope this helps, if you have any other questions or comments, please let me know,

    Best Regards,
    Emanuel Varga
  3. Jack
    Jack avatar
    2333 posts

    Posted 28 Oct 2010 Link to this post

    Hi Steve,

    RadGridView is based on our element framework and it uses elements (not separate controls) to show its scrollbars. Text boxes are controls and they cannot be clipped. That causes the issue. In addition, using many textbox controls may lead to performance and memory issues. As Emanuel suggested, a better option is to show the textbox only when editing. 

    If you have further questions, please do not hesitate to contact us.

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top