How do I: Add custom controls in cell

2 posts, 0 answers
  1. Amol
    Amol avatar
    57 posts
    Member since:
    Apr 2008

    Posted 09 Apr 2010 Link to this post

    Hello,

    I need to display custom controls ( two labels and image or panel ) in single cell.

    Could you please tell me the way to achieve  this?

    Thanks,
    Amol Wable

  2. Jack
    Admin
    Jack avatar
    2333 posts

    Posted 12 Apr 2010 Link to this post

    Hi Amol,

    You can use the CellFormatting event to add elements in grid cells. You can also add a user control by hosting it inside RadHostItem. The following KB article demonstrates this. However, using controls in grid cells may slow down the scrolling and will cause visual glitches. A better option would be using custom editors. Please look at the Custom Editors example in our demo application, as well as in the documentation.

     

    Kind regards,
    Jack
    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top